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] help on debugging kernel module in Xen

To: Lily Huang <ushuanglily@xxxxxxxxx>
Subject: Re: [Xen-devel] help on debugging kernel module in Xen
From: Brendan Cully <brendan@xxxxxxxxx>
Date: Fri, 12 Jan 2007 11:20:49 -0800
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 12 Jan 2007 11:20:26 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4d616cca0701121041n62b8ad05k7996ffe125c43043@xxxxxxxxxxxxxx>
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>
Mail-followup-to: ushuanglily@xxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
References: <4d616cca0701121041n62b8ad05k7996ffe125c43043@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-11-21)
On Friday, 12 January 2007 at 13:41, Lily Huang wrote:
> Hi all,
> 
> I am developing a kernel module running in both Xen0 and XenU. I want to
> debug it but don't know how. Does someone has experience on this?
> 
> I know printk is an option, but not very convenient.

There's a nice howto for using gdb to debug guest kernels in
tools/debugger/gdb/README.

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