From: Xin Zhao Subject: How to debug a kernel module in domain 0? Date: Mon, 05 Mar 2007 14:07:37 -0500 Message-ID: <45EC6A79.4070208@eecs.umich.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 --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