Debugging Android with GDB
I am trying to debug rild.c deamon with gdb.I followed the steps given in developer site with respect to gdbserver and gdb.After the connection is established between gdbserver and gdb in localhost iam not able to step in GDB i,e when i give next or Step command in gdb it simply hangs.can anyone tell me what's开发者_StackOverflow the problem?
Debugging native applications of AOSP can be quite challenging. You need right combination of gdbserver and gdb to get it working. AOSP site has little info on native debugging.
Please check Debugging Android native applications. It explains this in step by step tutorial with troubleshooting tips.
精彩评论