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

[Xen-devel] How do you debug Xen?


  • To: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Emre Can Sezer <ecsezer@xxxxxxxx>
  • Date: Fri, 09 Jan 2009 10:46:11 -0500
  • Delivery-date: Fri, 09 Jan 2009 07:47:48 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,

I want to use a debugger to debug some code I wrote in the hypervisor.
What is the best way to go about this?  I would appreciate any links or
info.

The only thing I found was enabling gdbstub and using gdb remotely via serial cable. Is there an example on how to set this up? The
examples in kgdb website refer to linux, so I'm hoping to get something
more specific. I tried to look through the mailing list archives but
couldn't find anything but the patches.

And if I'm trying to debug a 64-bit Xen, can I do this from a 32-bit
remote machine?

Thanks,

John



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


 


Rackspace

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