This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: SIGTRAP question
- To: Jonathan Larmour <jlarmour at redhat dot co dot uk>
- Subject: Re: [ECOS] SIGTRAP question
- From: Nicole Cook <cook at maya dot com>
- Date: Thu, 11 May 2000 15:34:04 -0400
- Cc: ecos-discuss at sourceware dot cygnus dot com
- References: <391B06D5.D33E916F@maya.com> <391B08D6.1B0A147@redhat.co.uk>
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