Gentoo Archives: gentoo-dev

From: Karl Trygve Kalleberg <karltk@g.o>
To: "Olivier Crête" <tester@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] separate debug information
Date: Wed, 17 Mar 2004 16:00:20
Message-Id: 20040317160011.GC11296@boblycat.org
In Reply to: [gentoo-dev] separate debug information by "Olivier Crête"
1 On Tue, Mar 16, 2004 at 11:02:12PM +0100, Olivier Crête wrote:
2 > Hi,
3 >
4 > There is a new features in gdb 6.0 and recent binutils that allows the
5 > debug information to be stored in a separate file from the binary.
6 > Allowing the memory benefits of stripping while keeping the debugging
7 > abilities.
8 >
9 > Has anyone looked at/worked on this? If no one else is doing it, I'll
10 > try to see if I can make it work tomorrow.
11
12 That'd be -really- neat, provided we could combine it with buildpkg/usepkg somehow:
13
14 1) FEATURES="debuginfo buildpkg" emerge --emptytree world
15
16 Build all packages with debugging info, store them as tbz2s
17
18 2) FEATURES="usepkg" emerge --emptytree world
19
20 Replace installed packages with non-debugged versions
21
22 3) FEATURES="usepkg debuginfo" emerge specific-package
23
24 Install just one package, (or it and all its deps) with debugging info for tracing
25 that stupid window manager bug:)
26
27
28 Kind regards,
29
30 Karl T
31
32 --
33 gentoo-dev@g.o mailing list