This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: GDB Download on i386 target hangs
>>>>> "Christian" == Christian Plessl <cplessl@ee.ethz.ch> writes:
Christian> (gdb) load Loading section .text, size 0xc118 lma 0x10000
Christian> Loading section .rodata, size 0xdfd lma 0x1c118 Loading
Christian> section .data, size 0x288 lma 0x1cf18 Start address 0x10000
Christian> , load size 53661 Transfer rate: 20442 bits/sec, 76
Christian> bytes/write.
Christian> As you see, It seems as if at location 0x3273 was no valid
Christian> instruction..
Christian> Does anybody have an idea how to solve this problem?
Yes, do the download, breakpoint 0x10000 and run. Then step your way
through the code using 'si'. Before you start stepping, do:
(gdb) disp /i $pc
Happy huntin' :)
Jesper