chyyuu 发表于 2006-4-15 20:48:32

DDD debug linux on SkyEye

With the help of SkyEye-1.2.0-RC7. DDD with arm-linux-gdb can remote debug linux kernel.
please see blow picture.

jellycn 发表于 2006-4-15 22:08:24

Oh~It's great~~~:)
chyyuu, I wanna join in your SkyEye project, how can i do?

chyyuu 发表于 2006-4-16 10:43:22

非常欢迎!希望能够给我发email (yuchenATtsinghuaDOTeduDOTcn),我们交流一下。

firstzheng 发表于 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版本
# 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
# 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".
#

firstzheng 发表于 2006-5-11 19:39:23

skyeye 启动信息。 为什么很多debug段没有被载入啊? 是否跟这个有关系?

# ./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 = 0x00000000size = 0x00000068.
load section .glue_7: addr = 0x00000068size = 0x00000000.
load section .glue_7t: addr = 0x00000068size = 0x00000000.
load section .data: addr = 0x00002000size = 0x00001000.
not load section .bss: addr = 0x00003000size = 0x00000000 .
not load section .debug_abbrev: addr = 0x00000000size = 0x0000004e .
not load section .debug_info: addr = 0x00000000size = 0x00000151 .
not load section .debug_line: addr = 0x00000000size = 0x00000089 .
not load section .debug_pubnames: addr = 0x00000000size = 0x0000001c .
not load section .debug_aranges: addr = 0x00000000size = 0x00000020 .
start addr is set to 0x00000000 by exec file.

guixinming 发表于 2009-4-18 17:17:50

看看这个资料,如何

jian745 发表于 2010-1-4 16:06:00

hello

thank you !!!!
页: [1]
查看完整版本: DDD debug linux on SkyEye