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.这句话是什么意思呢,该如何解决?网上搜了很久没找到答案。请大家帮忙看看,谢谢~~~~
问个关于gdbserver的问题
-
- 帖子: 2
- 注册时间: 2008-07-04 9:55
-
- 帖子: 2
- 注册时间: 2008-07-04 9:55
ip设置是没问题的,能用tftp传送文件,但板子还是mount不上主机
[root@AT91RM9200:/]# tftp -g -r hello 202.38.214.178
[root@AT91RM9200:/]# mount 202.38.214.178:/tftpboot /mnt
mount: mounting 202.38.214.178:/tftpboot on /mnt failed: No such device
[root@AT91RM9200:/]# mount 202.38.214.178:/tftpboot /tmp
mount: RPC: Timed out
为什么挂载到/mnt和/tmp出现的错误会不一样呢?
[root@AT91RM9200:/]# tftp -g -r hello 202.38.214.178
[root@AT91RM9200:/]# mount 202.38.214.178:/tftpboot /mnt
mount: mounting 202.38.214.178:/tftpboot on /mnt failed: No such device
[root@AT91RM9200:/]# mount 202.38.214.178:/tftpboot /tmp
mount: RPC: Timed out
为什么挂载到/mnt和/tmp出现的错误会不一样呢?
-
- 帖子: 2841
- 注册时间: 2006-09-11 22:47
-
- 帖子: 3
- 注册时间: 2007-04-07 11:20