All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Limpach <christian.limpach@gmail.com>
To: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com, Kip Macy <kmacy@netapp.com>
Subject: Re: [PATCH] make domu_debug run-time option + fix int3handling for MP
Date: Mon, 16 May 2005 23:31:17 +0100	[thread overview]
Message-ID: <3d8eece2050516153144b7fa17@mail.gmail.com> (raw)
In-Reply-To: <A95E2296287EAD4EB592B5DEEFCE0E9D1E406A@liverpoolst.ad.cl.cam.ac.uk>

On 5/16/05, Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk> wrote:
> > On Mon, May 16, 2005 at 03:08:24PM -0700, Kip Macy wrote:
> > > "domu_debug" was mutually exclusive with crash_debug, which doesn't
> > > make sense to me. The other stub already had a #if 0 as a
> > > pre-processor guard around it. So the end effect with the patch is
> > > that domu_debug would be on by default and cdb could be enabled at
> > > compile-time. As I recall, there is no working
> > functionality that this changes.  I'll go back and look and
> > recant if I am in error.
> >
> > Unless I misread the patch (didn't apply it), you'd end up
> > with unconditional definitions of debugger_trap_fatal and
> > debugger_trap_immediate?
> > I usually just toggle the #elif 0 to enable the kdb stubs, I
> > don't see how that would work now, without having to do more changes?
> 
> Do we ever want to enter cdb or kdb for any domain other than dom0? I
> can't think why you'd want to, as there's a much nicer debug environment
> available for domU's.

debugger_trap_fatal and debugger_trap_immediate are only used in code
paths which cause a Xen reboot and the nicer debug environment will be
dead by then...

Good point though for making debugger_trap_entry domu_debug only,
might even be reasonable to rename it...

    christian

      reply	other threads:[~2005-05-16 22:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-16 22:23 [PATCH] make domu_debug run-time option + fix int3handling for MP Ian Pratt
2005-05-16 22:31 ` Christian Limpach [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=3d8eece2050516153144b7fa17@mail.gmail.com \
    --to=christian.limpach@gmail.com \
    --cc=Christian.Limpach@cl.cam.ac.uk \
    --cc=kmacy@netapp.com \
    --cc=m+Ian.Pratt@cl.cam.ac.uk \
    --cc=xen-devel@lists.xensource.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.