How to debug Dalvik executables on Android using GDB?

I want to use GDB to debug an Android application. I don't have source code. I'm used to GDB. Who knows what to do? It seems that I need to attach the process to the application and use GDBSERVER, but I haven't found a good tutorial on how to do this

thank you!

resolvent:

There may not be a step-by-step tutorial, but people have been using GDBSERVER to debug JNI applications. Check the following links:

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

http://vilimpoc.org/blog/2010/09/23/hello-gdbserver-a-debuggable-jni-example-for-android/

http://developer.download.nvidia.com/tegra/docs/android_ gdb_ debugging.pdf

http://www.omappedia.org/wiki/Android_ Debugging#GDB_. 28the_ GNU_ Debugger.29

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>