public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: George Anzinger <george@mvista.com>
To: Andrew Morton <akpm@osdl.org>
Cc: dhowells@redhat.com, torvalds@osdl.org, davidm@snapgear.com,
	linux-kernel@vger.kernel.org, uclinux-dev@uclinux.org
Subject: Re: [PATCH] Additional kgdb hooks
Date: Tue, 09 Nov 2004 15:29:28 -0800	[thread overview]
Message-ID: <419152D8.9030303@mvista.com> (raw)
In-Reply-To: <20041108144433.079f0f7c.akpm@osdl.org>

Andrew Morton wrote:
> dhowells@redhat.com wrote:
> 
>>The attached patch adds a couple of extra hooks by which kgdb or an equivalent
>>gdbstub can catch bad_page() and panic() invocations.
> 
> 
> Tom is valiantly flogging his way through a generic KGDB implementation.  I
> think it would be better to push ahead with that and to not put into
> generic code hooks which are specific to one arch's kgdb implementation.
> 
IMNSHO the trap should be in dump_stack().  That way it catches a bunch of 
things all at once.

Also, panic has a notify option that kgdb should use just like everybody else.

-- 
George Anzinger   george@mvista.com
High-res-timers:  http://sourceforge.net/projects/high-res-timers/


  reply	other threads:[~2004-11-09 23:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-08 14:32 [PATCH] Additional kgdb hooks dhowells
2004-11-08 16:41 ` Tom Rini
2004-11-08 16:55   ` David Howells
2004-11-08 22:44 ` Andrew Morton
2004-11-09 23:29   ` George Anzinger [this message]
2004-11-19 22:06     ` Tom Rini

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=419152D8.9030303@mvista.com \
    --to=george@mvista.com \
    --cc=akpm@osdl.org \
    --cc=davidm@snapgear.com \
    --cc=dhowells@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    --cc=uclinux-dev@uclinux.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