This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: gdb on redboot (partial success)
On Wed, Aug 06, 2003 at 06:50:52PM +0900, Satish Kumar wrote:
> Ok, this is what i get on single step:
>
> (gdb) load
> Loading section .rom_vectors, size 0x40 lma 0x40000
> Loading section .text, size 0xf93c lma 0x40040
> Loading section .rodata, size 0x2a0 lma 0x4f97c
> Loading section .data, size 0x3e4 lma 0x4fc1c
> Start address 0x40040, load size 65536
> Transfer rate: 74898 bits/sec, 303 bytes/write.
> (gdb) next
> Cannot find bounds of current function
> (gdb) step
> Cannot find bounds of current function
> (gdb)
Step allows you to step to the next line of C code. But the start up
code is in assembly. use stepi, which steps a single assembly
instruction. Once you get into c/c++ code you can do step.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss