linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: show_regs dump stack when ARM_UNWIND enable
Date: Tue, 10 Aug 2010 23:59:19 +0100	[thread overview]
Message-ID: <20100810225919.GG7702@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <AANLkTimjAp8-WQ2D_-gJkh_wBW0yuDfGs6DaMgwk59e=@mail.gmail.com>

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.

      reply	other threads:[~2010-08-10 22:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-20 15:24 [PATCH] arm: show_regs dump stack when ARM_UNWIND enable janboe
2010-07-20 15:37 ` Catalin Marinas
2010-07-20 15:54   ` ye janboe
2010-07-21  9:21     ` Catalin Marinas
2010-07-21 17:24       ` Janboe Ye
2010-07-22  8:00         ` Russell King - ARM Linux
2010-08-10  3:27           ` ye janboe
2010-08-10 22:59             ` Russell King - ARM Linux [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100810225919.GG7702@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).