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

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


  • To: "pradeep singh rautela" <rautelap@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

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