Gentoo Archives: gentoo-dev

From: Ned Ludd <solar@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Split ELF Debug (default or not?)
Date: Sun, 27 Nov 2005 22:28:39
Message-Id: 1133130297.5317.504.camel@localhost
In Reply to: Re: [gentoo-dev] Re: Split ELF Debug (default or not?) by Ivan Yosifov
1 On Sun, 2005-11-27 at 23:01 +0200, Ivan Yosifov wrote:
2 > On Sun, 2005-11-27 at 11:55 -0500, Ned Ludd wrote:
3 > > On Sun, 2005-11-27 at 10:44 -0500, Ned Ludd wrote:
4 > > > On Sun, 2005-11-27 at 15:22 +0000, Edward Catmur wrote:
5 > > > > On Sun, 2005-11-27 at 08:40 -0500, Ned Ludd wrote:
6 > > > > > On Sun, 2005-11-27 at 15:09 +0200, Ivan Yosifov wrote:
7 > > > > > > And one more thing. For proper debugging, don't I need the source to be
8 > > > > > > present ?
9 > > > > >
10 > > > > > -g3 -ggdb embeds the source code in the debug info so I don't see the
11 > > > > > point.
12 > > > >
13 > > > > It doesn't; at least not with gcc 3.4.4. It does embed function
14 > > > > prototypes and macro definitions, though.
15 > > > >
16 > > > > Ed Catmur
17 > > >
18 > > > Eh?
19 > >
20 > >
21 > > Never mind you were right Ed. taviso pointed out that dwarf2 doesnt
22 > > support embedding the actual source. I was seeing the source due to me
23 > > not having deleted the source.
24 > >
25 > > Guess that is where the debugedit thing of Tester's would come in handy
26 > > on glibc hosts.
27 >
28 > What is this debugedit thing for us non-devs ? IMO portage should have
29 > some way to keep the sources around for debugging, for the patch you are
30 > proposing to be fully useful.
31
32 Having the source around or not does not make the splitdebug feature any
33 less useful. debugedit would however enhance some aspects of debugging.
34 See the comments posted at the top of this thread from tester@gentoo on
35 debugedit.
36
37 --
38 Ned Ludd <solar@g.o>
39 Gentoo Linux
40
41 --
42 gentoo-dev@g.o mailing list