arm gdbserver arm-linux-gdb
编译gdbserver
~/gdb-6.5/gdb/gdbserver$ ./configure --target=arm-linux --host=arm-linux
make CC=/usr/local/arm/4.3.2/bin/arm-linux-gcc
开发板上运行
IP:开发板IP 程序是本地程序
./gdbserver 192.168.1.20:1234 gdbtest
主机:
arm-linux-gdb ./ gdbtest
target remote 192.168.1.20:1234