• 编译:

下载 ftp://ftp.gnu.org/gnu/gdb/gdb-7.11.1.tar.gz

 

gdbserver编译

./configure --target=arm-linux --host=arm-linux

make

  • arm设置

ulimit -c 1024
echo /tmp/core > /proc/sys/kernel/core_pattern

 

 gdbserver --debug armip:8888  --attach pid

 

set solib-search-path /home/ubuntu/Code/app/lib
set solib-absolute-prefix /home/ubuntu/Code/app/lib

info sharedlibrary

 

  • pc设置

cmd文件

target remote 192.168.1.126:8888
bt

arm-linux-gdb --command=cmd

 

相关文章:

  • 2021-06-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-13
  • 2022-01-13
  • 2021-05-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-03-06
  • 2021-09-22
  • 2022-12-23
  • 2022-01-20
  • 2022-12-23
相关资源
相似解决方案