On 02/16/2012 11:30 AM, Richard Sandiford wrote:
> Seems to be the same:
> 
> #0  0x00400ae2 in foo() ()
> #1  0x77d793fc in __mips16_call_stub_df_0 () at ...
> Backtrace stopped: previous frame inner to this frame (corrupt stack?)
> 
> (this is a gdb built from 7.4 branch FWIW).

Oh, of course.  GDB is seeing the sequence of CFA's:

        X       foo
        X-4     __mips16_call_stub_df_0
        X       caller

and it is sanity checking the stack is monotonic.
Which seems like a fairly reasonable thing to do...

I'll work on a proper fix to the unwinder; we can then decide
whether and when to apply it...


r~

Reply via email to