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

[Xen-devel] How to debug hypervisor in source level?


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: eudoxus Ellada <eudoxus101@xxxxxxxxx>
  • Date: Wed, 27 Oct 2010 20:49:38 +0800
  • Delivery-date: Wed, 27 Oct 2010 05:50:11 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=sTnGcpZuxg5qHHQp3Qx/Ce9jhFKyAUD5L0Smsf0okPUef/xU9KDYCAx68MTF3vOYG9 9HZ2F0fCkHlvNrWjbLCof/wD2oqILwtRHMeAtiphbk76y0TWQA85WhUzAwGvZgUTwFBb 7//MRN+kYL9Zh5D7zVLF5QRp7lpEfmol1obVE=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hello all,
I am trying to debug hypervisor. I would like to do it in source code
level, similar to the situation debugging kernel by two machines connected
via serial port.
I had noticed that xen makefile contains the option “debug” and
“crash_bug” and there exists gdbstub.c in Xen source, but very few
documentation tells how it works and how to set up the environment.

I build Xen 4.0 with make debug=y optimize=0 crash_debug=y  \
     CMDLINE="console=com1  com1=115200,8n1 earlygdb=y" world
but could’t get it work.

My project prefers source level debugging, so kdb for Xen is not suitable.
How can I set up an environment to be debugging as kgdb does?

Best Regards,

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

 


Rackspace

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