在使用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 跳转至页
回复
有奖活动 | |
---|---|
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
【有奖活动】智能可穿戴设备AR/VR如何引领科技新潮流! | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
【有奖活动】震撼来袭!这场直播将直击工程师的心灵! |
打赏帖 | |
---|---|
如何实现基于NXPiMX.RT1021的BH1730采集被打赏50分 | |
【换取手持数字示波器】AHT10温度检测分享被打赏40分 | |
【换取手持数字示波器】ACM32F070开发板点亮LCD屏和触控按键,串口,ADC被打赏40分 | |
【换取手持数字示波器】ACM32F070LCD屏和触控按键功驱动蜂鸣器分享被打赏40分 | |
【换取手持数字示波器】国民技术PWM功能知识分享被打赏40分 | |
【换取手持数字示波器】放大器运放知识分享被打赏40分 | |
【分享评测,赢取加热台】+开关电源AC输入知识分享被打赏30分 | |
【换取手持数字示波器】N32G430点亮数码管与串口打印、ADC被打赏40分 | |
老胖子聊电路--分析一个反馈电路被打赏50分 | |
【换取手持数字示波器】+点亮WS2812RGB灯被打赏50分 |