Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: "Knittel, Brian" <Brian.Knittel@powertv.com>
Cc: linux-mips@linux-mips.org, Dominic Sweetman <dom@mips.com>
Subject: Re: Saving arguments on the stack
Date: Wed, 23 Nov 2005 09:54:35 +0000	[thread overview]
Message-ID: <20051123095435.GB2699@linux-mips.org> (raw)
In-Reply-To: <762C0A863A7674478671627FEAF5848105AF92D5@hqmail01.powertv.com>

On Tue, Nov 22, 2005 at 10:24:09AM -0800, Knittel, Brian wrote:

> We'd like to add arguments to the backtrace in Oops messages to make
> debugging from these reports more efficient. It is particularly useful
> for determining where the problem was generated, particularly when bad
> pointers are passed in. This is for production embedded devices with
> optimized code and which reboot immediately after storing or sending the
> Oops message. Performance is an issue, but the overhead of storing the
> arguments on the stack is likely worth the added debug info.

In this case you would probably have to modify the compiler to save all
arguments.  Another issue is actually finding the stackframe.  For a
debugger using debug information this is possible but short of that it's
hard on MIPS to produce a meaningful backtrace.  Or having something
as complicate as on ia64 ...

  Ralf

  parent reply	other threads:[~2005-11-23  9:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-22 18:24 Saving arguments on the stack Knittel, Brian
2005-11-22 18:24 ` Knittel, Brian
2005-11-23  9:54 ` Ralf Baechle [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-11-23 18:36 Knittel, Brian
2005-11-23 18:36 ` Knittel, Brian
2005-11-22  2:59 Knittel, Brian
2005-11-22  2:59 ` Knittel, Brian
2005-11-22  8:53 ` Kevin D. Kissell
2005-11-22 11:21   ` Nigel Stephens
2005-11-22 11:24     ` Ralf Baechle
2005-11-22 11:39       ` Maciej W. Rozycki
2005-11-22 12:27         ` Ralf Baechle
2005-11-22 14:03           ` Maciej W. Rozycki
2005-11-22 11:38 ` Ralf Baechle
2005-11-22 12:41   ` Dominic Sweetman

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=20051123095435.GB2699@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=Brian.Knittel@powertv.com \
    --cc=dom@mips.com \
    --cc=linux-mips@linux-mips.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