I'm trying to debug native C code in a shared library on Android but none of my breakpoints are hit.
I tried different debug configurations as suggested here: http://stackoverflow.com/questions/12638849/debug-native-code-in-android-library
but it didn't work. On console I get:
warning: Could not load shared library symbols for 92 libraries, e.g. /system/bin/linker.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
warning: Unable to find dynamic linker breakpoint function.
GDB will retry eventually. Meanwhile, it is likely
that GDB is unable to debug shared library initializers
or resolve pending breakpoints after dlopen().
[New Thread 2644]
[New Thread 2645]
[New Thread 2668]
No symbol table is loaded. Use the "file" command.
Thanks in advance for any help,
Alex
Hi,
You may consider loading your debug library by hand to the proper address offset.
Hope this helps
Radovan
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-ndk.
For more options, visit https://groups.google.com/d/optout.