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] Re: about kdb for Xen

To: gjk.liu@xxxxxxxxx
Subject: [Xen-devel] Re: about kdb for Xen
From: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>
Date: Tue, 24 Mar 2009 19:25:56 -0700
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 24 Mar 2009 19:26:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <3411131.2044551237885265110.JavaMail.nabble@xxxxxxxxxxxxxxxx>
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>
Organization: Oracle Corp
References: <3411131.2044551237885265110.JavaMail.nabble@xxxxxxxxxxxxxxxx>
Reply-to: mukesh.rathor@xxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.21 (X11/20090320)
You cannot continue execution when system crashed. The only thing to do is reboot. So go is disabled, as sometimes accidentally one might type that while debugging.

There is some work to get gdb to debug xen, but I'm not sure what state it's in.

To assist in debugging via kdb, use gdb on xen-syms file. Then use gdb to find matching line numbers in C file. Look at gdb manual how to do that.

Thanks,
Mukesh


gjk.liu@xxxxxxxxx wrote:
Hi Mukesh,
Why system often show"cmd not available in fatal/crashed state .....", after
enter "go" in kdb for Xen. I have just cloned the codes from the branch.

btw: Is there any other debug method for xen itself? for example, using gdb at source code level like linux or freebsd. I think it will be more convenient than kdb.
You know, there are too many optimazation on code after compiled by gcc.

   Cheers:)

Liu Jian

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

<Prev in Thread] Current Thread [Next in Thread>