summaryrefslogtreecommitdiff
path: root/README.Android
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-10-13 16:51:08 +0200
committerJan Holesovsky <kendy@collabora.com>2014-10-13 16:53:58 +0200
commitc862be08158f502c42752f025d5cc6384285c688 (patch)
treef076b72344c4d36c78de1942a1b22967667646fc /README.Android
parent17e68606b7c5001edf2ebede5e7d5ea0e0b9753f (diff)
android: Dump my debugging notes to the readme's.
Change-Id: I8f91e73fe5df5dfef054df80d43be3c74d01388b
Diffstat (limited to 'README.Android')
-rw-r--r--README.Android5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.Android b/README.Android
index 2fe09e2b1a3e..9ae7fd3ec04f 100644
--- a/README.Android
+++ b/README.Android
@@ -46,6 +46,11 @@ know. But don't seem to be necessary on a real device anyway?
* Debugging
+ Install the .apk to the device, start the application, and:
+
+ cd android/experimental/LOAndroid3
+ <android-ndk-r9d>/ndk-gdb --adb=<android-sdk-linux>/platform-tools/adb
+
Some versions of the NDK had a broken gdb in the way that it can see
symbols only for shlibs that were already loaded when the debuggee was
attached, so you need to carefully guess where to put: