[Crash-utility] [PATCH] ARM: fp when unwinding

Mika Westerberg mika.westerberg at iki.fi
Thu Oct 6 17:51:41 UTC 2011


On Thu, Oct 06, 2011 at 01:04:07PM +0200, Per Fransson wrote:

>  The 'struct stackframe' we use to keep unwind state when going from
> one frame to the next (or should I say previous) only contains fp,
> sp, lr and pc, which might be something we should consider changing.
> Even as it stands however, frame.fp is assigned an incorrect value
> for active tasks. Here's a patch to fix that.

I don't understand how it can be incorred - IIRC unwind tables don't use FP at
all. It is only there because that register can be used for other purposes and
some unwinding instructions might restore it from the stack.

Have you seen this problem really happening?




More information about the Crash-utility mailing list