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 to debug a kernel module in domain 0?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] How to debug a kernel module in domain 0?
From: Xin Zhao <zhaoxin@xxxxxxxxxxxxxx>
Date: Mon, 05 Mar 2007 14:07:37 -0500
Delivery-date: Mon, 05 Mar 2007 11:06:57 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)
Hi,

I want to debug a kernel module in domain 0. I read the tools/debugger/gdb/README file and followed the instructions to setup a debugging environment for DomU. But this does not work for kernel modules in Dom0. I tried "gdbserver-xen 127.0.0.1:9999 <http://127.0.0.1:9999> --attach 0", since dom0's id is 0. It does not work.

Is it possible to debug a kernel module in Xen Dom0?

Thanks,
-x


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] How to debug a kernel module in domain 0?, Xin Zhao <=