[PATCH] arm: show_regs dump stack when ARM_UNWIND enable

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Aug 10 18:59:19 EDT 2010


On Tue, Aug 10, 2010 at 11:27:54AM +0800, ye janboe wrote:
> hi, Russell
> 
> I agree with this.
> 
> But I am confused with c_bactrace in arm_syscall. This function is
> used to dump stack when arm syscall failed.
> regs->ARM_fp should be an userspace address and c_backtrace should
> fail to dump the backtrace.
> 
> Do you know what the purpose c_backtrace here?

Debugging kernel failures in earlier kernels when there wasn't such
stuff as EABI to worry about - from times when programs were built
with frame pointers.

That call should probably be removed now.



More information about the linux-arm-kernel mailing list