Skip to contentSkip to conversation

How to debug a kernel module in domain 0?

DISCUSSION Xin Zhao 1 participant 1 message Mar 5, 2007

lore
Share & tools
lore

Xin Zhao

author
#0 lore raw

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