[ECOS] SIGTRAP question
Nicole Cook
cook@maya.com
Fri May 12 11:49:00 GMT 2000
Jonathan Larmour wrote:
>
> Nicole Cook wrote:
>
> I assume it's reproducible? If so, try using "si" to find the exact
> instruction that's causing it, although it will probably be a return -
> something like "movs lr,pc" or "ldmdb fp, {r1, r2, fp, sp, pc}". At this
> point you should be able to determine the return address it is trying to
> restore into the pc. If this is C code, you could also try compiling
> without optimization to eliminate compiler bugs as a possible explanation.
>
> With some targets/MMUs, if you try to jump to wacky addresses it will cause
> it to reset. I don't know off-hand if the AEB C is in this category, but
> they may well be the "cause". Of course the real question is why such a
> wacky address is trying to get loaded in the first.
>
This seems to be what's happening, though I don't know why - it tries
to load an address that corresponds to a huge list of nops in
cyg_libc_main_stack, but instead resets (it is reproduceable - it
happens every time).
Nicole
More information about the Ecos-discuss
mailing list