如果采用把我自己写的应用编译成debug版本,基本上不可行。是一帮鸟人是用静态库的方式全部编译。太大,烧不进去板子
我现在是手动修改自己应用程序的makefile.targe,加入-g参数。直接调试这个动态库。
在target机子上输入gdbserver targetip:2345 --attach ×××
在host上输入:
arm-linux-gdb aaa.so
target remote targetip:2345
b file1:125
然后: c
运行后,根本就没法在断点停下
请问,各位高手,这是怎么回事