|
1 | 1 | /* **********************************************************
|
2 |
| - * Copyright (c) 2011-2015 Google, Inc. All rights reserved. |
| 2 | + * Copyright (c) 2011-2016 Google, Inc. All rights reserved. |
3 | 3 | * Copyright (c) 2009-2010 VMware, Inc. All rights reserved.
|
4 | 4 | * **********************************************************/
|
5 | 5 |
|
@@ -40,6 +40,7 @@ your computer:
|
40 | 40 | - \subpage page_install_linux
|
41 | 41 | - \subpage page_install_macos
|
42 | 42 | - \subpage page_install_windows
|
| 43 | + - \subpage page_install_android |
43 | 44 |
|
44 | 45 | ***************************************************************************
|
45 | 46 | \page page_install_linux Installing on Linux
|
@@ -155,6 +156,21 @@ with the version you installed, of course). Note that the semicolon
|
155 | 156 | (;) is important! After editing your PATH, you should restart your Cygwin
|
156 | 157 | or cmd shell.
|
157 | 158 |
|
| 159 | +*************************************************************************** |
| 160 | +\page page_install_android Installing on Android |
| 161 | + |
| 162 | +Download the \p .tar.gz version of Dr. Memory for Android. Untar the |
| 163 | +package into a directory on your local machine: |
| 164 | + |
| 165 | +\verbatim |
| 166 | +tar xzf DrMemory-ARM-Android-EABI-X.X.X-X.tar.gz |
| 167 | +\endverbatim |
| 168 | + |
| 169 | +Now copy the entire unpacked directory to your Android device (typically |
| 170 | +using <tt>adb push</tt>. The <tt>bin/drmemory</tt> front-end can be |
| 171 | +invoked directly from the <tt>adb shell</tt>. Dr. Memory for Android is |
| 172 | +targeted toward native applications that use Android's NDK. |
| 173 | + |
158 | 174 | ***************************************************************************
|
159 | 175 | \page page_prep Preparing Your Application
|
160 | 176 |
|
@@ -335,6 +351,13 @@ Currently there is no support for applications built with Cygwin gcc or g++.
|
335 | 351 | The regular Dr. Memory build can be executed just fine from a Cygwin
|
336 | 352 | shell when targeting non-Cygwin applications.
|
337 | 353 |
|
| 354 | +******************** |
| 355 | +\section sec_prep_android Android |
| 356 | + |
| 357 | +Build your application using the Android NDK and copy it over to your device. |
| 358 | +Be sure to compile with debugging information included and to disable FPO, |
| 359 | +as described in \ref sec_prep_general. |
| 360 | + |
338 | 361 | ***************************************************************************
|
339 | 362 | \page page_running Running Dr. Memory
|
340 | 363 |
|
@@ -418,7 +441,7 @@ On Windows:
|
418 | 441 | drmemory.exe -- c:/path/to/my/app args to my app
|
419 | 442 | \endverbatim
|
420 | 443 |
|
421 |
| -On Linux or Mac: |
| 444 | +On Linux, Mac, or Android: |
422 | 445 | \verbatim
|
423 | 446 | drmemory -- /path/to/my/app args to my app
|
424 | 447 | \endverbatim
|
|
0 commit comments