能力值:
( LV2,RANK:10 )
|
-
-
[求助]gdb 调试安卓so 内存断点问题
x灰豆x
什么牌子的nexus都可以是嘛,谷歌 nexus6可以不
其实就是普通下断点,我的操作如下,实在windows模拟器上调试的: 一、下断点成功,但是continue报错,如下: (gdb) b test.cpp:23 Breakpoint 1 at 0x14fb3: file F:/AndroidStudioProjects/ndk-build-test/app/src/main/jni\test.cpp, line 23. (gdb) c Continuing. Warning: Cannot insert breakpoint 1. Cannot access memory at address 0x14fb3 Command aborted. (gdb) 二:删除断点后,执行continue命令又好使正常了,如下: (gdb) delete 1 (gdb) c Continuing. 如何解决呢?同求
|
能力值:
( LV2,RANK:10 )
|
-
-
[求助]gdb 调试安卓so 内存断点问题
楼主,你是用gdb+gdbserver方式吗?我跟你遇到了类似问题,只不过我下的软断点,continue之后,提示我不能分配内存,你试试软断点会有问题吗?我遇到这个问题还不知道如何解决呢,你要有解决方法,也告诉我下吧,这些
|