From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH v3] Separate runtime debug output from debug symbols Date: Wed, 8 Oct 2014 18:21:06 +0200 Message-ID: <20141008162106.GA16867@aepfle.de> References: <1412779865-31148-1-git-send-email-olaf@aepfle.de> <21557.21810.882724.782414@mariner.uk.xensource.com> <20141008153214.GA8658@aepfle.de> <21557.23047.856785.929974@mariner.uk.xensource.com> <21557.23217.811751.505795@mariner.uk.xensource.com> <20141008160043.GA14570@aepfle.de> <21557.24983.788375.204936@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <21557.24983.788375.204936@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: Wei Liu , Keir Fraser , Ian Campbell , Stefano Stabellini , Tim Deegan , xen-devel@lists.xen.org, Jan Beulich , Samuel Thibault , David Scott List-Id: xen-devel@lists.xenproject.org On Wed, Oct 08, Ian Jackson wrote: > Olaf Hering writes ("Re: [PATCH v3] Separate runtime debug output from debug symbols"): > > On Wed, Oct 08, Ian Jackson wrote: > > > I do object to a change to the default, which AFAICT is what happens > > > in your patch. > > > > How does it change the default? Confik.mk has: > > Sorry, I wasn't clear. I mean that -g should remain the default even > in debug=n builds of Xen. > > 19 # A debug build of Xen and tools? > > 20 debug ?= y > > 21 debug_symbols ?= $(debug) > > > > Which means its always on. > > If debug=n, -g is turned off. The user might do that. Also we > routinely set debug=n during the last stages of the release process. I'm not sure I follow. Do you mean, in addition to my change to move more places that append -g to CFLAGS, another change on top of that should set "debug_symbols ?= y" in Config.mk? If thats what you mean, I'm fine with that. Should I include it in v4 of my change? Olaf