LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1562|回复: 2

GDB调试应用程序

[复制链接]
发表于 2008-4-30 14:07:48 | 显示全部楼层 |阅读模式
GDB调试应用程序
环境:
YLP2440开发板+ 光盘中给的LINUX操作系统 ip:192.168.1.223
VMWARE+RH9.0   ip:192.168.218.129
电脑ip:192.168.1.205
网络环境我已经设好了,在虚拟机上用的NAT方式连接主机,在VM中ping开发板可以ping 得通
然后开始进行GDB调试我的程序
现在板上运行gdbserver 192.168.1.205:5050 uart  的时候:
Cannot exec uart: No such file or directory.
Process uartrfid created; pid = 422
Child exited with retcode = 7f    (貌似这一步就出现问题了....)
然后在VM中运行arm-linux-gdb uart
target  remote 192.168.1.205:5050
出现:
Remote debugging using 192.168.1.223:5050
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Couldn't establish connection to remote target
Malformed response to offset query, timeout
同时板子这一边的超级终端上显示:
Remote debugging from host 192.168.1.205
Child exited with status 0
GDBserver exiting

这是什么原因?望赐教了...
发表于 2008-4-30 22:13:33 | 显示全部楼层
Cannot exec uart: No such file or directory

这个,还是先确认一下的好。
回复 支持 反对

使用道具 举报

发表于 2008-6-1 16:47:24 | 显示全部楼层
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表