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

Re: [Xen-devel] [Q] domU boot time debugging using xen-gdbserver

To: "pradeep singh rautela" <rautelap@xxxxxxxxx>
Subject: Re: [Xen-devel] [Q] domU boot time debugging using xen-gdbserver
From: "Kip Macy" <kip.macy@xxxxxxxxx>
Date: Mon, 22 Oct 2007 22:15:14 -0700
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 22 Oct 2007 22:15:50 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=dgMB8LFpTctBlYna6MHy+s2WnkWrOHKbkWxoJvHLPGM=; b=bxDnc+Bi5LwRl5qGrfA7wEYSeu5rsCFVAaqnK4fx+6deZEMoybXHhj9WqX3fPJdvsYA4Gu+Xjn9ixobchPuq/wEqUJlSlfASXwZXq1oWdGI+225QUdpp4gVvCDCBrmIGg5HGGs+yO6gNUdhgllSjbVlOjlQumtGZF3DltFcIXr4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ViuXlyGigVk4L4oHeJ5sqWNaNG8yCUyHeU1hn2a0zd3Q0NuwL2tmRo1TSlKNX3gRVoru6w4nraXCXJ5i6yDocjgVz/XYRQ3NOU2qD9UXDiCbSQYmPEJ/XnV5Rufrdpwzvhl2RL1Y8TpZBIUVaDVxFo1cDEdZneAoHIUL0AFgebg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <6bc632150709052312k6a06002dx5210e0a24dbe0bc5@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <6bc632150709052312k6a06002dx5210e0a24dbe0bc5@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 9/5/07, pradeep singh rautela <rautelap@xxxxxxxxx> wrote:
> Hi All,
>
> I setup a gdb debugging environment for domU correctly using the
> instructions in tools/debugger/* .
> The debugging is useful when the domU is up and running.
>
> I want to trace the startup execution flow of the domU itself. Can
> this be done using the xen-gdbserver somehow?

Yes. When you create the domain, start it off as paused, attach, then
continue. It should go without saying, but you'll have to compile the
kernel with frame pointers which is not the default on Linux.

> OTOH, can i debug a HVM guest[a normal linux kernel in this case]
> using the xen-gdbserver?

Yes.

 -Kip

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

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-devel] [Q] domU boot time debugging using xen-gdbserver, Kip Macy <=