1.查看进程pid
ps
./gdbserver :1234 –attach <pid>
另一个终端:
adb forward tcp:1234 tcp:1234
编译gdb:
configure --target=arm-linux-gnueabi
make
使用gdb
gdb
target remote <ip>:1234
gcore
1.查看进程pid
ps
./gdbserver :1234 –attach <pid>
另一个终端:
adb forward tcp:1234 tcp:1234
编译gdb:
configure --target=arm-linux-gnueabi
make
使用gdb
gdb
target remote <ip>:1234
gcore