[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [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