开发者

Debugging Android with GDB

开发者 https://www.devze.com 2023-01-18 14:56 出处:网络
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 ia

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号