当前时区 GMT+8, 现在时间是 2008-9-5 15:05
游客:
注册
登录
仅登录论坛
|
搜索
帮助
中国Linux公社论坛
»
Skyeye项目专栏
» skyeye 1.2的运行步骤是和以前的不太一样?怎么调试呢
‹‹ 上一主题
|
下一主题 ››
投票
交易
悬赏
活动
打印
|
推荐
|
订阅
|
收藏
标题: skyeye 1.2的运行步骤是和以前的不太一样?怎么调试呢
cornerstone
新手上路
UID 51024
精华 0
积分 33
帖子 13
阅读权限 10
注册 2003-7-16
来自 China.gif
状态 离线
#1
发表于 2007-1-17 02:00
资料
短消息
加为好友
skyeye 1.2的运行步骤是和以前的不太一样?怎么调试呢
看了一下以前的帖子,说按下面的方法运行,还可以设断点
skyeye
target sim
run
可是我下的直接skyeye就运行了,没有skyeye的命令行了??
看了看手册,好像还没有更新呀,
skyeye -d -e hello
之后我用gdb ,target remote:12345
怎么调试呢?
是不是有不对的地方,
谢谢呀!
ksh
高级会员
UID 92875
精华
1
积分 1476
帖子 794
阅读权限 50
注册 2004-2-4
来自 China
状态 离线
#2
发表于 2007-1-17 19:32
资料
短消息
加为好友
http://skyeye.sourceforge.net/wiki/um5
cornerstone
新手上路
UID 51024
精华 0
积分 33
帖子 13
阅读权限 10
注册 2003-7-16
来自 China.gif
状态 离线
#3
发表于 2007-1-17 22:58
资料
短消息
加为好友
老大,sourceforge上不去呀,海底光缆断了,
能不能劳驾帮我copy ,paste 一下,非常感谢
ivychen
新手上路
UID 230697
精华 0
积分 63
帖子 25
阅读权限 10
注册 2006-11-16
状态 离线
#4
发表于 2007-1-18 10:20
资料
短消息
加为好友
为什么海底光缆断了,我还能访问呢?
------------------------------------------
5. Debug
Now Skyeye supports the RDI (remote debug interface) protocol of GDB. In the future, we hope SkyEye can support more debugging protocols.
5.1 gdb debugging
In this section we will give some step by step instructions for debugging your kernel image using gdb RDI. RDI function in SkyEye is not completed yet, so you may encounter some problems. We will finish it soon.
Firstly you should have a gdb for your target installed on your host machine; there should be a binary called something like arm-elf-gdb. This gdb will be used to communicate with SkyEye to get detailed debug infomation. If you have ever used gdbserver, this will be familiar. SkyEye is just like your gdbserver in usage.
You can load your image on SkyEye with -d option to turn on debugging. Please refer to ?.
When Skyeye is launched, it will stop at the address of the first instruction of your image. Then run the gdb for your target in another terminal (using for instance X11 to open multiple terminal windows).
./arm-elf-gdb imagename
Then run the following command under gdb prompt:
target remote :12345
At this time, gdb side will show the current PC (program counter), and some running infomation of your image. Then you can run gdb commands to debug your image.
[quote:4d95005a0c="cornerstone"]老大,sourceforge上不去呀,海底光缆断了,
能不能劳驾帮我copy ,paste 一下,非常感谢[/quote]
cornerstone
新手上路
UID 51024
精华 0
积分 33
帖子 13
阅读权限 10
注册 2003-7-16
来自 China.gif
状态 离线
#5
发表于 2007-1-20 12:13
资料
短消息
加为好友
Thanks!
投票
交易
悬赏
活动
论坛跳转 ...
> 公告区
> 系统安装
> 硬件配置
> Magic Linux技术支持区
> Magic Linux开发培训版
> 中文化与桌面美化
> 桌面使用小技巧
> 命令行使用小技巧与SHELL编程
> 网络工具
> 办公软件
> 多媒体应用
> 游戏乐园
> 服务器与网络安全
> Linux资源共享区
> Debian/LFS/Gentoo专题版
> Linux高质量字体研究
> easyright计算机研究所
> Linux认证考试专题版
> 应用编程技术与项目孵化
> 网站开发技术与项目孵化
> 参与国际开源项目
> 翻译汉化
> 中文GNOME用户交流区
> Skyeye项目专栏
> lumit项目专栏
> eva项目专栏
> fanx项目专栏
> 连连看for Linux项目专栏
> OurLinux杂志专区
> BitStorm项目专栏
> AVS项目专栏
> VirgoFTP项目专栏
> EGui开源项目
> RT-Thread实时操作系统
> 内核源代码阅读交流
> 内核安装和升级
> 嵌入式开发
> 校园行动联盟
> Linux与公社文化杂谈
> 求职与招聘
> 公社接待中心
Powered by
Discuz!
5.5.0
© 2001-2007
Comsenz Inc.
TOP
清除 Cookies
-
联系我们
-
中国Linux公社
-
WAP