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-users

[Xen-users] How to debug xen

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] How to debug xen
From: "Cheng-Han Tsai" <chtsai@xxxxxxxxxxxxxxxxxx>
Date: Fri, 16 Mar 2007 14:47:10 +0800
Delivery-date: Thu, 15 Mar 2007 23:46:35 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=uTd9BPSgBt8TRbCYx+CMwmXVaBQUvgxX6R3rCoIvYybX9T/Omd2I6uHBOuQdsHmsokIm30IgFg5V+OvwXv9aXPljNzjxIwAIGDmeE5cONMVOxkLM7LY1MgA0h3insGAGOjb6WQwrCEY1qsEw2Dnl/H1ReGC6XtAjZ/7DjvizqcU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=Ty24EHXBJXq/z/BfQDkRkCeCPsgK3u9fOFOcUqQiIsS9ibjdiGFvl14hNLFYOH3g13PtS0UQb3WCDv7UeC+yKRaNsWLnrx5xRKOG4LwlE1eGN1a1OBjCz+llDconyKHnX1xo918BBwLwUIYwPEQnFrrN0rc5D/pCC4rLbG6w9JE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I follow the mini-howto posted by David Becker.
The post could be found here (http://www.arcknowledge.com/gmane.comp.emulators.xen.devel/2004-07/msg00387.html )

I follow the howto but replace several command.
Instead of using make instruction to set environment variables, I code them into the Rules.mk
For example, I modify xen/Rules.mk by adding "debugger ?= y"
And I compile the Dom0 with "make linux-2.6-xen-build", because it seems specifying "arch=Xen" is unnecessary.

I setup vmware workstation, socat, and kermit as the post.
When I boot xen, I could read output from kermit.
And I could type 'h' to list the help of xen internal debugger.
But I don't see the D command.
My gdb can't connect to xen, either.
Xen should prompt some string like "waiting for gdb connection", right ?
I don't see it, and gdb still con't connect to xen.

Does anyone make it?
Any shared information?

Thanks a lot


-- keene
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] How to debug xen, Cheng-Han Tsai <=