linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Amos Waterland <apw@us.ibm.com>
To: linuxppc-dev@ozlabs.org
Subject: Re: [POWERPC] mark BUG() as noreturn
Date: Thu, 21 Sep 2006 21:34:22 -0400	[thread overview]
Message-ID: <20060922013422.GA12753@kvasir.watson.ibm.com> (raw)
In-Reply-To: <1158886446.8109.2.camel@localhost.localdomain>

On Fri, Sep 22, 2006 at 10:54:05AM +1000, Michael Ellerman wrote:
> On Thu, 2006-09-21 at 08:18 -0400, Jimi Xenidis wrote:
> > But BUG() _can_ return, if I have a probe, xmon or kgdb configured it  
> > is possible  to play with the state of the world and try to continue/ 
> > recover, (xmon "x" command).  IMHO, this is a powerful debugging  
> > scenario.
> 
> Hmm, ok I hadn't thought of that. Personally I've never tried to recover
> from a BUG(), do people really do that much?

Yes, people do that.  

Especially in the case where you have a bug that only manifests every so
often: you want to capitalize on the fact that you have caught the
machine in that state.

You aren't trying to recover as though nothing has happened, but you are
trying to continue execution to learn about things now that you know the
machine was in the state that triggers the bug.

  reply	other threads:[~2006-09-22  1:34 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-05  2:08 [POWERPC] merge iSeries i/o operations with the rest Stephen Rothwell
2006-09-05  5:07 ` David Woodhouse
2006-09-05  5:39   ` Stephen Rothwell
2006-09-05 16:41 ` Linas Vepstas
2006-09-05 23:19   ` Stephen Rothwell
2006-09-06  8:24 ` Stephen Rothwell
2006-09-18  5:38 ` Stephen Rothwell
2006-09-20 12:15   ` Stephen Rothwell
2006-09-20 16:01     ` Hollis Blanchard
2006-09-21  0:03       ` Stephen Rothwell
2006-09-21  0:20         ` Michael Ellerman
2006-09-21  4:55           ` [POWERPC] mark BUG() as noreturn Stephen Rothwell
2006-09-21 12:18             ` Jimi Xenidis
2006-09-22  0:54               ` Michael Ellerman
2006-09-22  1:34                 ` Amos Waterland [this message]
2006-09-22 10:58                 ` Jimi Xenidis
2006-09-21 13:23             ` David Howells
2006-09-21 15:15               ` Segher Boessenkool
2006-09-21  8:00         ` [POWERPC] merge iSeries i/o operations with the rest Stephen Rothwell

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=20060922013422.GA12753@kvasir.watson.ibm.com \
    --to=apw@us.ibm.com \
    --cc=linuxppc-dev@ozlabs.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).