问个关于gdbserver的问题
发表于 : 2008-08-07 9:28
pc机的nfs服务已经开通,用其它机子可以mount上我的机,在板上运行gdbserver
[root@AT91RM9200:~]# gdbserver 202.38.214.177:2049 a.out
Process a.out created; pid = 680
Listening on port 2049
然后pc机上
hool@hool-desktop:~$ arm-linux-gdb a.out
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-linux"...
(gdb) target remote 202.38.214.177:2049
Remote debugging using 202.38.214.177:2049
Remote communication error: Connection reset by peer.
Remote communication error: Connection reset by peer.这句话是什么意思呢,该如何解决?网上搜了很久没找到答案。请大家帮忙看看,谢谢~~~~
[root@AT91RM9200:~]# gdbserver 202.38.214.177:2049 a.out
Process a.out created; pid = 680
Listening on port 2049
然后pc机上
hool@hool-desktop:~$ arm-linux-gdb a.out
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-linux"...
(gdb) target remote 202.38.214.177:2049
Remote debugging using 202.38.214.177:2049
Remote communication error: Connection reset by peer.
Remote communication error: Connection reset by peer.这句话是什么意思呢,该如何解决?网上搜了很久没找到答案。请大家帮忙看看,谢谢~~~~