[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] How to debug the Xen kernel?

> Can someone tell me how to debug the kernel in Xen?

If you've a second machine, you could use the Xen GDB serial
stub. See docs/pdb.txt

> I tried to use kdb, but it seems that after I did the patch, the "make
> menuconfig" in xenolinux-2.4.26 directory doesn't include the option of
> kdb.

I'm guessing that you didn't modify the patch so that it patched
arch/xen rather than arch/i386? (or use fakei386xen)

Since a kernel debugger is very intimately architecture dependent
it's unlikely to apply without a fair bit of manual merging.


This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.