This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

dm816x的gdb问题



     我用http://linux.chinaunix.net/techdoc/develop/2008/12/28/1055528.shtml上面介绍的方法编译了arm-none-linux-guneabi-gdb和gdb-server(该网页上提到用arm-linux-gcc的地方改成arm-none-linux-guneabi-gcc).但在目标板上调试hello world程序的时候,先执行./gdbserver 192.168.1.103 ./hello,再在主机执行arm-none-linux-gnueabi-gdb ./hello和target remote 192.168.1.102:2345后主机提示错误如下:

(gdb) target remote 192.168.1.102:2345

Remote debugging using 192.168.1.102:2345

Malformed packet(b) (missing colon): ore:0;

Packet: 'T050b:00000000;0d:10becebe;0f:b0d70b40;thread:58b;core:0;'

 

目标板上提示如下:

root@dm816x-evm:/test# ./gdbserver 192.168.1.103:2345 ./hello

Process ./hello created; pid = 1419

Listening on port 2345

Remote debugging from host 192.168.1.103

readchar: Got EOF

Remote side has terminated connection.  GDBserver will reopen the connection.

 

请问有人知道怎么回事吗?谢谢