This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: SIGTRAP question


Jonathan Larmour wrote:

> 
> > Breakpoint 2, IDE_onPowerUp () at lba.c:611
> > (gdb) s
> 
> It's odd that you get no output here after a step.

Here's a better output of this:

(gdb) s
611	return 0;
(gdb) s
613	}
(gdb) s

Program received signal SIGTRAP, Trace/breakpoint trap.
0x401a5e4 in ?? ()

> 
> That's an address in ROM. By any chance is it the same address you get when
> you connect to the board with "target remote"? If so, it looks like the
> board is resetting itself, or jumping to the reset address at least.
> 

Yes - it seems to be - is there a way to determine from the trap why the
board is jumping to the reset address?  It should just return from this
function - but it recieves this signal instead.

Nicole

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]