一.目标板上运行 gdbserver hostip:port app
二.主机上运行 arm-linux-gnueabihf-gdb app
三.主机gdb命令行上运行 target remote guestip:port