summaryrefslogtreecommitdiff
path: root/README.Android
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-07-14 16:54:11 +0200
committerJan Holesovsky <kendy@collabora.com>2014-07-14 16:55:13 +0200
commitd641b54efcbea5af1074acc2335fb00c6c845c1e (patch)
treecfa729d8fcc250a56c71328b5a966f93c8122bc1 /README.Android
parentf3145f74a2829526169a44696dbd3c16b2c5ae77 (diff)
android: Hint how to get the symbols, but not a 1.5G .apk.
Change-Id: I6f6d2e7516d99a02ad813ba5e03c5cdcac2f4964
Diffstat (limited to 'README.Android')
-rw-r--r--README.Android15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.Android b/README.Android
index 68bec2456368..9d022a719f80 100644
--- a/README.Android
+++ b/README.Android
@@ -63,6 +63,21 @@ to run: ndk-gdb and it will attach the process.
In r8b the ndk-gdb seems to work a bit better, and I think it isn't
necessary to use the mingw-and-ndk ndb-gdb any longer.
+* Getting the symbols
+
+In order to be able to debug, you also need the symbols. Currently they are
+stripped using a $(STRIP) call in android/Bootstrap/Makefile.shared ; make
+sure you change it only to 'cp'.
+
+But then you need to limit the size of the resulting binary by other means,
+that is strip most of the symbols (but the interesting ones) already during
+the build. For that, use something like
+
+--enable-dbgutil
+--enable-selective-debuginfo="sal/"
+
+in your autogen.input (but of course limit the --enable-selective-debuginfo
+only to directories / libraries that are interesting to you).
* Common Errors / Gotchas