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

Re: [Xen-devel] Debugging Dom0 kernel over serial



On Thu, 7 Jun 2012 07:27:26 +0100
Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:

> On Wed, 2012-06-06 at 22:17 +0100, Mukesh Rathor wrote:
> > I wrote up a debugger for xen, also (mis)named kdb. It halts the 
> > system, lets you poke memory, data structs, set breakpoints, etc.
> > To use it, you must have prior experience of a kernel debugger. I
> > am attaching patch build for changeset 25287 in unstable tree, if
> > you wanna try it. Start with kdb/README.
> 
> I think this is for the hypervisor itself, right?

kdb can be used to set breakpoints, single step, examine memory of the 
entire system, etc..  so it can be used to debug xen, dom0, domUs. 


> James was asking about debugging the dom0 kernel. I also considered
> mentioning gdbsx but I think that can only work with domU?
 
Right. gdbsx runs on dom0, so can only be used to debug domUs.

thanks,
Mukesh


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.