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 hypervisor in source level?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] How to debug hypervisor in source level?
From: eudoxus Ellada <eudoxus101@xxxxxxxxx>
Date: Wed, 27 Oct 2010 20:49:38 +0800
Delivery-date: Wed, 27 Oct 2010 05:50:11 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=rkWv+QW149CTa+RagwNafcV4qxGcyizRoeWFiaos0Hk=; b=X8jdT6JqilmHtn+3SfZ+rXiDwSAxHfJPJTPH1M+w1Chmw/D+VRfhFzNZtuIoC77dJL Z2QH6mGx5wynYHzC4rtUoA2ymevlo162bJRqKZvvi08cey/u4wU7tso4Yl0q90l6ywZ2 zeFhO9FxssEQn6tv5BQAj7c9ZgtVKWXyvAcIA=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] How to debug hypervisor in source level?, eudoxus Ellada <=