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] Catch crashing domains with GDB

To: "Simon Kagstrom" <simon.kagstrom@xxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Catch crashing domains with GDB
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Wed, 16 Nov 2005 10:42:36 -0000
Delivery-date: Wed, 16 Nov 2005 10:42:37 +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: AcXql/R9tFKL3sasTJOVbuk+qpS7qgAAmAmA
Thread-topic: [Xen-devel] Catch crashing domains with GDB
> I'm using Xen-unstable updated a few days ago, and I'm trying 
> to debug an OS which I'm porting to Xen. I'm using the 
> gdbserver to debug domU, and while this works fine I'm 
> wondering if it is possible to have the debugger catch the 
> domain crashes, i.e., if I crash the domain it would be nice 
> if I could check the backtrace etc from within GDB.
> 
> Is this possible?

"on_crash = preserve" should keep the domain hanging around -- I'd
imagine you'd be able to get gdb to give you a backtrace from there.

Ian

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