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

Re: [Xen-devel] [PATCH] tools: build debug qemu-xen in debug tools builds



On Wed, 4 Sep 2013, Matthew Daley wrote:
> On Wed, Sep 4, 2013 at 3:32 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> > On Wed, 2013-09-04 at 01:12 +1200, Matthew Daley wrote:
> >> When building tools in debug mode (debug=y), pass --enable-debug when
> >> configuring qemu-xen to enable some debug support (namely, to prevent
> >> symbols from being stripped).
> >
> > This is from the installed binaries I suppose?
> 
> Right, it stops the symbols from being stripped from the installed
> binaries. The ones left in the build directory are not stripped
> regardless.
> 
> > Is this the only affect or are there others?
> 
> The other changes I can see are to set
> CONFIG_DEBUG_{TCG,MONITOR,EXEC}=y and, as Anthony said, to not add -O2
> to CFLAGS (-g is added unconditionally).
> 
> AFAIK Xen doesn't use the subsystems where TCG/EXEC are mentioned, and
> MONITOR just enables some extra error messages in the QEMU monitor
> code anyway.

It seems reasonable.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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