[PATCH] arm: show_regs dump stack when ARM_UNWIND enable

ye janboe janboe.ye at gmail.com
Mon Aug 9 23:27:54 EDT 2010


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?

Thanks

Janboe


2010/7/22 Russell King - ARM Linux <linux at arm.linux.org.uk>:
> On Thu, Jul 22, 2010 at 01:24:28AM +0800, Janboe Ye wrote:
>> Is there any way for arm unwind to do user space backtrace like
>> c_backtrace in arm_syscall?
>
> That's a job for userspace, which would have access to the program
> debug information, which is necessary for unwinding EABI programs.
> The debug information is not loaded into the programs address space
> when you run it, and therefore would not be available to the kernel.
>



More information about the linux-arm-kernel mailing list