Gentoo Archives: gentoo-dev

From: Ned Ludd <solar@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Split ELF Debug (default or not?)
Date: Sun, 27 Nov 2005 12:40:08
Message-Id: 1133094231.5422.354.camel@localhost
In Reply to: Re: [gentoo-dev] Split ELF Debug (defult or not?) by "Petteri Räty"
1 On Sat, 2005-11-26 at 23:42 +0200, Petteri Räty wrote:
2 > Ned Ludd wrote:
3 > > Good afternoon,
4 > >
5 > > Would you be willing to give up space in $ROOT/usr/lib/debug for ELF
6 > > executables by default in order to aid in better debugging by or do we
7 > > want to only emit it when a FEATURE= is defined.
8 > >
9 > > Having a split debug pretty much obsoletes the need to add nostrip to
10 > > your features in order to get debug info.
11 > >
12 > > Users wishing to not have debug info can simply add
13 > > INSTALL_MASK="/usr/lib/debug ${INSTALL_MASK}" to make.conf or the
14 > > environment unless we make it FEATURE based.
15 > >
16 > > I'm in favor of it enabled per default but I'd like to know what you
17 > > think and why. (advantages of on/off by default etc..)
18 > >
19 >
20 > How useful is this debug information with -fomit-frame-pointer? From
21 > what I have read it makes debugging at least harder. I think most people
22 > have -fomit-frame-pointer in their CFLAGS so it should not be enabled by
23 > default if the debug info is not very useful any way.
24 >
25 > Regards,
26 > Petteri
27
28 -fomit-frame-pointer does indeed make certain aspects of debugging
29 harder but it does not moot the idea entirely.
30
31 --
32 Ned Ludd <solar@g.o>
33 Gentoo Linux
34
35 --
36 gentoo-dev@g.o mailing list