Home >> Android News >> debug android with gdb on remote Linux

Android News

  Main  |  Simple Headline  

link android-ndk (Google Group) android-ndk (Google Group) (2009/9/8 12:26:26)

feed debug android with gdb on remote Linux (2009/9/8 12:26:26)
Hi,

I have the emulator running on my windows, and a Linux is used to
build the entire Android platform code. Here is what I tried to debug
the native code with my emulator, please help verify what is wrong

launch the gdbserver on emulator like,

./gdbserver :3050 ./hello

run adb forward tcp:1234 tcp:3050 on windows, then check the forward



execution time : 0.312 sec