http://www.cnblogs.com/bingghost/p/5731020.html
方法一:
使用ndk-build编译时,加上如下参数NDK_DEBUG=1,之后生成so文件之外,还会生成gdbobserver,gdb.setup调式文件
方法二:
修改AndroidManifest.xml文件,增加debuggable属性为true
"true"...
方法三:
在application.mk中加入
APP_OPTIM := debug
NDK_DEBUG= 1
http://www.cnblogs.com/bingghost/p/5731020.html
方法一:
使用ndk-build编译时,加上如下参数NDK_DEBUG=1,之后生成so文件之外,还会生成gdbobserver,gdb.setup调式文件
方法二:
修改AndroidManifest.xml文件,增加debuggable属性为true
"true"...
方法三:
在application.mk中加入
APP_OPTIM := debug
NDK_DEBUG= 1
本文标题:使用gdb调试ndk程序
本文链接:https://www.haomeiwen.com/subject/oreekxtx.html
网友评论