我想调试使用GDB的Android应用程序,我没有源$ C $ c和我习惯了GDB。请问谁知道如何做到这一点?看来我需要连接到应用程序和使用的gdbserver的过程,但我还没有真正找到了如何做一个很好的教程...
I want to debug an android application using GDB, I do not have the source code and I am used to GDB. Would anyone know how to do that? It seems I would need to attach to the process of the application and use gdbserver but I have not really found a good tutorial on how to do that...
谢谢!
有可能不是一步一步的教程,但人们一直在使用gdbserver的调试JNI应用程序。请检查下面的链接:
There might not be step-by-step tutorials, but people have been using a gdbserver to debug JNI apps. 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