QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3311|回复: 6

DDD debug linux on SkyEye

[复制链接]
发表于 2006-4-15 20:48:32 | 显示全部楼层 |阅读模式
With the help of SkyEye-1.2.0-RC7. DDD with arm-linux-gdb can remote debug linux kernel.
please see blow picture.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2006-4-15 22:08:24 | 显示全部楼层
Oh~It's great~~~
chyyuu, I wanna join in your SkyEye project, how can i do?
回复

使用道具 举报

 楼主| 发表于 2006-4-16 10:43:22 | 显示全部楼层
非常欢迎!希望能够给我发email (yuchenATtsinghuaDOTeduDOTcn),我们交流一下。
回复

使用道具 举报

发表于 2006-5-11 18:21:40 | 显示全部楼层
能贴一下 arm-elf-gcc 和arm-elf-gdb 的版本嘛?
为什么写了一个简单的带有调试信息的arm启动程序。 可以用skyeye启动。但是用arm-elf-gdb 调试的时候,总是有问题。
gdb会出现:
>Single stepping until exit from function begin,
>which has no line number information.
>Can't send signals to this remote system.  SIGHUP not sent.
>
>Program received signal SIGHUP, Hangup.

info all-registers: 发现程序根本就没运行。

我得gcc,gdb版本
[root@zxdev Hello4Skyeye]# arm-elf-gcc -v
Reading specs from /usr/local/arm/gnuarm-3.4.3/bin/../lib/gcc/arm-elf/3.4.3/specs
Configured with: ../gcc-3.4.3/configure --target=arm-elf --prefix=/srv/shared/gnuarm/gnuarm-3.4.3 --enable-interwork --enable-multilib --with-newlib --with-headers=../newlib-1.12.0/newlib/libc/include --enable-languages=c,c++,java --disable-libgcj
Thread model: single
gcc version 3.4.3
[root@zxdev Hello4Skyeye]# arm-elf-gdb -v
GNU gdb 6.1
Copyright 2004 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 "--host=i686-pc-linux-gnu --target=arm-elf".
[root@zxdev Hello4Skyeye]#
回复

使用道具 举报

发表于 2006-5-11 19:39:23 | 显示全部楼层
skyeye 启动信息。 为什么很多debug段没有被载入啊? 是否跟这个有关系?

[root@zxdev Hello4Skyeye]# ./skyeye -d -e hello
debugmode= 1, filename = (null), server TCP port is 12345
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x8079e8c
log_info: log is off.
log_info:log file is ./sk1.log, fd is 0x8560228
log_info: log start clock 0
log_info: log end clock 200000
SKYEYE: use arm7100 mmu ops
exec file "hello"'s format is elf32-little.
load section .text: addr = 0x00000000  size = 0x00000068.
load section .glue_7: addr = 0x00000068  size = 0x00000000.
load section .glue_7t: addr = 0x00000068  size = 0x00000000.
load section .data: addr = 0x00002000  size = 0x00001000.
not load section .bss: addr = 0x00003000  size = 0x00000000 .
not load section .debug_abbrev: addr = 0x00000000  size = 0x0000004e .
not load section .debug_info: addr = 0x00000000  size = 0x00000151 .
not load section .debug_line: addr = 0x00000000  size = 0x00000089 .
not load section .debug_pubnames: addr = 0x00000000  size = 0x0000001c .
not load section .debug_aranges: addr = 0x00000000  size = 0x00000020 .
start addr is set to 0x00000000 by exec file.
回复

使用道具 举报

发表于 2009-4-18 17:17:50 | 显示全部楼层
看看这个资料,如何
回复

使用道具 举报

发表于 2010-1-4 16:06:00 | 显示全部楼层

hello

thank you !!!!
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-22 03:27 , Processed in 0.056568 second(s), 17 queries .

© 2021 Powered by Discuz! X3.5.

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