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] debugging libxc / builders

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] debugging libxc / builders
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Thu, 23 Jun 2005 17:45:58 +0100
Cc: Tim Newsham <newsham@xxxxxxxx>
Delivery-date: Thu, 23 Jun 2005 16:52:30 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.BSI.4.61.0506221746100.5014@xxxxxxxxxxxxxxxxx>
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: <Pine.BSI.4.61.0506221746100.5014@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8
>    - When I run 'xm create', what process calls down to the
>      xc_builder stuff?  Can I attach to it with gdb?

It gets called from Xend (from a thread in Xend, if you're using unstable).  

You might be able to attach using gdb...  Not sure how easy it would be to do 
something useful.

>    - Is there any way to spit out debug output (printf?)?  Where
>      would it go?

I fprintf to stderr, with the output appearing magically 
in /var/log/xend-debug.log

>    - If I make changes and do a make install in tools, what do
>      I have to restart to put the new code into use?  xend restart?

Restarting Xend should be OK.

HTH,
Mark

> Any hints or tips appreciated.
>
> Tim Newsham
> http://www.lava.net/~newsham/
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

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

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