From owner-freebsd-current@FreeBSD.ORG Thu Feb 12 15:29:42 2015 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B45D9908; Thu, 12 Feb 2015 15:29:42 +0000 (UTC) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 92C0075; Thu, 12 Feb 2015 15:29:42 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.14.9/8.14.9) with ESMTP id t1CFTapE066079 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 12 Feb 2015 07:29:36 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.9/8.14.9/Submit) id t1CFTakY066078; Thu, 12 Feb 2015 07:29:36 -0800 (PST) (envelope-from sgk) Date: Thu, 12 Feb 2015 07:29:36 -0800 From: Steve Kargl To: Glen Barber Subject: Re: HEADS-UP: Enabling WITH_DEBUG_FILES by default Message-ID: <20150212152936.GA66037@troutmask.apl.washington.edu> References: <20150212023912.GG1302@hub.FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150212023912.GG1302@hub.FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2015 15:29:42 -0000 On Thu, Feb 12, 2015 at 02:39:12AM +0000, Glen Barber wrote: > Hi, > > Within the next 24 hours, I will merge the release-install-debug branch > into head, which will enable building and installing stripped debugging > files by default. > > In general, this should have no significant impact, but any fallout will > be addressed as soon as possible after the merge. > > Those that do not want debugging files built/installed by default should > add 'WITHOUT_DEBUG_FILES=1' to src.conf(5). This will also be noted in > UPDATING. > Does this feature take into account the optimization level that one may set via CFLAGS? Conventional wisdom used to claim that debuggers did not fair too well with code that was compiled with -O2 (or -Os and/or other well-known gcc options -fomit-frame-pointer, etc.) The common advice was to recompile one's code with -g or '-g -O'. Does lldb cope better with optimized binaries? -- Steve