gdb for egcs/sh-elf

amylaar@cygnus.co.uk amylaar@cygnus.co.uk
Thu Jan 15 16:30:00 GMT 1998


> 1)  Setting a break point
> 
> > (gdb) >br bsp_start
> > Breakpoint 1 at 0xa0484ea
> 
> According to the disassembled code this isn't the address of the
> function but at some small offset close beside it.
> > 0a0484e8 <_bsp_start>:
> > a0484e8:       2f 86           mov.l   r8,@-r15
> > a0484ea:       d1 34           mov.l   a0485bc <_bsp_start+0xd4>,r1

That's a feature.  The breakpoint is set at location after the prologue.



More information about the Gcc mailing list