From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EgLpA-00001s-Ap for garchives@archives.gentoo.org; Sun, 27 Nov 2005 12:40:08 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jARCc9qE031191; Sun, 27 Nov 2005 12:38:09 GMT Received: from skinny.southernlinux.net (ns2.rednecks.net [64.192.52.5]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jARCXbC3018326 for ; Sun, 27 Nov 2005 12:33:38 GMT Received: (qmail 24461 invoked by uid 210); 27 Nov 2005 07:26:45 -0500 Received: from 64.192.53.57 by skinny (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.82/1195. f-prot: 4.4.2/3.14.11. spamassassin: 3.0.2. perlscan: 1.25st. Clear:RC:1(64.192.53.57):. Processed in 0.06343 secs); 27 Nov 2005 12:26:45 -0000 Received: from unknown (HELO montgomery-57.epproach.net) (64.192.53.57) by 0 with SMTP; 27 Nov 2005 07:26:44 -0500 Subject: Re: [gentoo-dev] Split ELF Debug (default or not?) From: Ned Ludd To: gentoo-dev@lists.gentoo.org In-Reply-To: <4388D6CE.3090001@gentoo.org> References: <1133027430.5317.307.camel@localhost> <4388D6CE.3090001@gentoo.org> Content-Type: text/plain; charset=ISO-8859-1 Organization: Gentoo Linux Date: Sun, 27 Nov 2005 07:23:51 -0500 Message-Id: <1133094231.5422.354.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id jARCc9rq031191 X-Archives-Salt: 1e2ef5bc-23e8-4a89-914b-a3a260215f91 X-Archives-Hash: f5be5b10a90c6b8ec256374dbb4dd48e On Sat, 2005-11-26 at 23:42 +0200, Petteri R=E4ty wrote: > Ned Ludd wrote: > > Good afternoon, > >=20 > > Would you be willing to give up space in $ROOT/usr/lib/debug for ELF > > executables by default in order to aid in better debugging by or do w= e > > want to only emit it when a FEATURE=3D is defined. > >=20 > > Having a split debug pretty much obsoletes the need to add nostrip to > > your features in order to get debug info. > >=20 > > Users wishing to not have debug info can simply add > > INSTALL_MASK=3D"/usr/lib/debug ${INSTALL_MASK}" to make.conf or the > > environment unless we make it FEATURE based. > >=20 > > I'm in favor of it enabled per default but I'd like to know what you > > think and why. (advantages of on/off by default etc..) > >=20 >=20 > How useful is this debug information with -fomit-frame-pointer? From > what I have read it makes debugging at least harder. I think most peopl= e > have -fomit-frame-pointer in their CFLAGS so it should not be enabled b= y > default if the debug info is not very useful any way. >=20 > Regards, > Petteri -fomit-frame-pointer does indeed make certain aspects of debugging harder but it does not moot the idea entirely. --=20 Ned Ludd Gentoo Linux --=20 gentoo-dev@gentoo.org mailing list