|
楼主 |
发表于 2011-8-7 10:11:57
|
显示全部楼层
把开关打开以后,把skyeye源码打上patch补丁之后的调试信息:
终端1
Starting program: /opt/skyeye/bin/skyeye -e hello
[Thread debugging using libthread_db enabled]
SkyEye 1.3.2
SkyEye is an Open Source project under GPL. All rights of different parts or modules are reserved by their author. Any modification or redistributions of SkyEye should not remove or modify the annoucement of SkyEye copyright.
Get more information about it, please visit the homepage http://www.skyeye.org.
Type "help" to get command list.
[New Thread 0xb71fc6b0 (LWP 3654)]
[New Thread 0xb71fbb90 (LWP 3657)]
(skyeye)start
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
In do_mach_option, mach info: name s3c2410x, mach_init addr 0xb5faef60
ethmod num=1, mac addr=8:0:3e:26:a:5b, hostip=10.0.0.1
uart_mod:3, desc_in:, desc_out:, converter:
[New Thread 0xb5561b90 (LWP 3674)]
In create_uart_console
SKYEYE: use arm920t mmu ops
exec file "hello"'s format is elf32-i386.
load section .text: addr = 0x31000000 size = 0x00000064.
load section .data: addr = 0x31002000 size = 0x00000010.
not load section .comment: addr = 0x00000000 size = 0x0000002a .
not load section .debug_abbrev: addr = 0x00000000 size = 0x0000009a .
not load section .debug_info: addr = 0x00000000 size = 0x000000ee .
not load section .debug_line: addr = 0x00000000 size = 0x00000084 .
not load section .debug_pubnames: addr = 0x00000000 size = 0x0000001c .
not load section .debug_aranges: addr = 0x00000000 size = 0x00000040 .
not load section .ARM.attributes: addr = 0x00000000 size = 0x00000025 .
not load section .debug_frame: addr = 0x00000000 size = 0x00000020 .
not load section .debug_loc: addr = 0x00000000 size = 0x0000001e .
not load section .debug_str: addr = 0x00000000 size = 0x00000061 .
In SIM_start, Set PC to the address 0x31000000
[New Thread 0xacc44b90 (LWP 3680)]
(skyeye)remote-gdb
[New Thread 0xac443b90 (LWP 3686)]
(skyeye)Remote debugging using host:12345
getpkt ("qSupported"); [sending ack]
[sent ack]
putpkt ("$#00"); [looking for ack]
[received '+' (0x2b)]
[getpkt: discarding char '+']
getpkt ("?"); [sending ack]
[sent ack]
putpkt ("$S05#b8"); [looking for ack]
[received '+' (0x2b)]
getpkt ("Hc-1"); [sending ack]
[sent ack]
�(���U5��U5��U5��U5��U5��U5��U5��U5�putpkt ("$#00"); [looking for ack]
[received '+' (0x2b)]
getpkt ("qC"); [sending ack]
[sent ack]
putpkt ("$#00"); [looking for ack]
[received '+' (0x2b)]
getpkt ("Hg0"); [sending ack]
[sent ack]
�(���U5��U5��U5��U5��U5��U5��U5��U5�putpkt ("$#00"); [looking for ack]
[received '+' (0x2b)]
getpkt ("g"); [sending ack]
[sent ack]
putpkt ("$00000000c10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000031000000000d0000005cc0b00900000000000000000000000000000000000000001000000000000000000000000100000000000000000000000000000000000000100000000f0000000000000018270000000000000000000000000000000000000000000000000000#5d"); [looking for ack]
[received '+' (0x2b)]
getpkt ("m0,8"); [sending ack]
[sent ack]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xac443b90 (LWP 3686)]
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0xb57d225e in sim_debug () at debugger/gdbserver.c:1243
#2 0xb73854c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#3 0xb72de84e in clone () from /lib/i686/cmov/libc.so.6
终端2:
(gdb) set debug remote 1
(gdb) target remote 10.0.0.1:12345
Remote debugging using 10.0.0.1:12345
Sending packet: $qSupported#37...Ack
Packet received:
Packet qSupported (supported-packets) is NOT supported
Sending packet: $?#3f...Ack
Packet received: S05
Sending packet: $Hc-1#09...Ack
Packet received:
Sending packet: $qC#b4...Ack
Packet received:
Sending packet: $Hg0#df...Ack
Packet received:
Sending packet: $g#67...Ack
Packet received: 00000000c100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000310000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Sending packet: $m0,8#01...Ack
Timed out.
Timed out.
Timed out.
Ignoring packet error, continuing...
Reply contains invalid hex digit 116
[ 本帖最后由 tenthplanet 于 2011-8-7 21:19 编辑 ] |
|