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] gdbserver-xen / gdb crashing domU

To: "Kip Macy" <kip.macy@xxxxxxxxx>, "Jonathan M. McCune" <jonmccune@xxxxxxx>
Subject: RE: [Xen-devel] gdbserver-xen / gdb crashing domU
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Wed, 28 Sep 2005 11:37:36 +0100
Cc: bparno@xxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, Arvind Seshadri <arvinds@xxxxxxxxxx>
Delivery-date: Wed, 28 Sep 2005 10:35:13 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXD0FxHkvtyx4KaRKO323jkm7Ws5wASBRVA
Thread-topic: [Xen-devel] gdbserver-xen / gdb crashing domU
> domu_debug must be enabled in xen's Rules.mk, otherwise the 
> int3 gets passed onto the OS which will cause it to crash as 
> it isn't expecting to see a debug trap in ring 0 (unless of 
> course you have a  debugger compiled into the kernel itself). 
> 
> Just re-compile and then pass -p (pause) to xm create 
> followed by an attach with gdbserver-xen.

Why don't we have a dom0 op that sets this for a specific domain, hence
when a debugger attaches to a domain we can route the int3
appropriately?

Ian

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel