From: "Jan Beulich" Subject: Re: [PATCH v2] Separate runtime debug output from debug symbols Date: Mon, 06 Oct 2014 10:03:45 +0100 Message-ID: <54327711020000780003C5CF@mail.emea.novell.com> References: <1412181690-19609-29-git-send-email-olaf@aepfle.de> <1412585751-1525-1-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Xb4Cs-0004lu-9w for xen-devel@lists.xenproject.org; Mon, 06 Oct 2014 09:03:50 +0000 In-Reply-To: <1412585751-1525-1-git-send-email-olaf@aepfle.de> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: Wei Liu , Ian Campbell , Stefano Stabellini , Tim Deegan , Ian Jackson , xen-devel , Samuel Thibault , Keir Fraser , David Scott List-Id: xen-devel@lists.xenproject.org >>> On 06.10.14 at 10:55, wrote: > Two make variables exist (debug=y and debug_symbols=y) to control either > the creation of additional runtime debug or the creation of debug > symbols for tools like gdb. Some places in the code still passed -g > unconditionally to the compiler. Wrap them into a "debug_symbols" > conditional. The xen build passed -g unconditional, reuse the existing > debug_symbols=y check in Config.mk. There are still parts of the code > that hardcode -g, namely the external qemu-traditional and stubdom > packages. They are not changed by this patch. > > No change in behaviour is expected by that patch for tools and xen. > For stubdom CFLAGS change from -O1 to O2 with debug=n. > > Signed-off-by: Olaf Hering > Release-Acked-by: Konrad Rzeszutek Wilk > Reviewed-by: Konrad Rzeszutek Wilk >[...] > xen/Rules.mk | 2 +- For just this small part of the patch: Acked-by: Jan Beulich