在使用gdbserver时,出现以下错误:
uclinux端:
/var/tmp> gdbserver :3000 hello
Process hello created; pid = 26
code at 0025a058 - 0025dbf8, data at 0025dbf8
Remote debugging using :3000
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
远程linux端:
[root@vivian test]# gdb hello.gdb
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(gdb) target remote 10.192.192.166:3000
Remote debugging using 10.192.192.166:3000
Couldn't establish connection to remote target
Reply contains invalid hex digit 59
(gdb)
哪位大虾能给点指导啊,这是什么问题?
共2条
1/1 1 跳转至页

2楼
问题已经解决了!由于板子用的是68k系列,Linux端应该用m68k-elf-gdb.hello和hello.gdb都是由m68k-elf-gcc编译生成的。
[align=right][color=#000066][此贴子已经被作者于2004-9-7 15:24:58编辑过][/color][/align]
共2条
1/1 1 跳转至页
回复
打赏帖 | |
---|---|
【Zephyr】MCXN947 Zephyr 开发入门适配shell被打赏20分 | |
【我要开发板】6.联合MATLAB记录数据被打赏50分 | |
【瑞萨RA2E1开发板】:使用ADC功能实现位移传感器采集方案被打赏20分 | |
【nRF7002DK】基于sht30的温湿度计被打赏20分 | |
【nRF7002DK】日志打印被打赏20分 | |
rtthread硬件加密-5hash加密分析被打赏10分 | |
【STM32F769】SD卡驱动及其调试经验分享被打赏32分 | |
【分享开发笔记,赚取电动螺丝刀】使用看门狗降低系统隐藏bug触发概率被打赏18分 | |
【STM32F769】调试SD驱动,由于其时钟配置不对引起的错误以及排查记录被打赏35分 | |
【分享开发笔记,赚取电动螺丝刀】MCUXpressoConfigTools配置外设时的异常解决被打赏24分 |