android: Hint how to get the symbols, but not a 1.5G .apk.

Change-Id: I6f6d2e7516d99a02ad813ba5e03c5cdcac2f4964
This commit is contained in:
Jan Holesovsky 2014-07-14 16:54:11 +02:00
parent f3145f74a2
commit d641b54efc

View file

@ -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