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

[Xen-devel] How do you debug Xen?

To: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] How do you debug Xen?
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
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)
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

<Prev in Thread] Current Thread [Next in Thread>