Remote debugging Android NDK from eclipse

Android (running gdbserver on Android) says:

gdb: cannot get location for stream creation breakpoint: requested event is not supported

So how can I find out the gdb commands sent by eclipse?

PS It can be debugged in the cygwin shell, it just can not be debugged in eclipse. I do not know which commands are sent by eclipse.

+3
source share
1 answer

gdbserver, included in the Android NDK (at least with r4b), does not support debugging in multiple threads. I had nominal luck after John Mickelau's comment here:

http://honeypod.blogspot.com/2008/01/debug-native-application-for-android.html

. GDB Android prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/bin/arm-eabi-gdb.

. , GDB Android:

: . GDB .

+4

Source: https://habr.com/ru/post/1788746/


All Articles