WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] anybody using pdb?

To: Christian Limpach <chris@xxxxxx>
Subject: Re: [Xen-devel] anybody using pdb?
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 12 Mar 2004 11:52:26 +0000
Cc: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 12 Mar 2004 11:56:41 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Thu, 11 Mar 2004 18:21:44 +0100." <148801c4078d$548e1f80$070414ac@pin>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> > I've fixed this a better way, by enabling interrupts before calling
> > the pdb handler. Let me know if it still doesn't work.
> 
> No it doesn't work, at least not for the "jump to the debugger by pressing
> D" case.  Maybe because you only enabled interrupts during traps but not
> during interrupts?  AFAICT there's also some locking/flag setting which
> might prevent further interrupts while the handler is still running (if I'm
> looking at the right code, do_IRQ in xen/arch/i386/irq.c).
> 
> I considered enabling interrupts at first but I couldn't exclude re-entrance
> issues.  Also I think that it's not the right thing to do in this case:  if
> you're using the debugger on Xen, you don't want interrupts enabled.  I
> think you'd actually want them explicitly disabled (as opposed to the
> previous/current implicit disabling).
> 
>    christian
> 

Okay, I checked in a fix somewhat like the one you initially
proposed. Fancy giving it another spin? :-)

 -- Keir


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>