Gentoo Archives: gentoo-dev

From: Olivier Crete <tester@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] stripping implementation in portage
Date: Tue, 23 Aug 2005 17:37:03
Message-Id: 1124818473.12024.76.camel@cocagne.max-t.internal
In Reply to: Re: [gentoo-dev] stripping implementation in portage by Paul de Vrieze
1 On Tue, 2005-23-08 at 11:16 +0200, Paul de Vrieze wrote:
2 > As an aside to this. Does anyone know how debug information can be changed
3 > to have a different basedir. My idea was to create a "custom" strip
4 > wrapper that would create external debugging files (like now possible
5 > with gdb/binutils) and point them to a location
6 > in /usr/src/packagenameplusversion. For that it would be necessary to in
7 > some way hack the source location in the debug information.
8
9 There is already a patch [1] in bugzilla that does that.. And in bonus
10 to keeping the debug files (currently in <libpath>/.debug/libname.so.dbg
11 but that can be changed) . It can also keep the source files
12 in /usr/src/debug so they can loaded by gdb (pretty useful when
13 debugging into libraries).
14
15 It creates 3 new features, keepdebug, keepdebugbin and keepsources
16
17 keepdebug will keep the debug symbols for libs
18 keepdebugbin will keep then for non-lib binaries
19 and keepsources will keep the related sources..
20
21 [1] http://bugs.gentoo.org/show_bug.cgi?id=45150
22
23 --
24 Olivier CrĂȘte
25 tester@g.o
26 Gentoo Developer
27 x86 Security Liaison
28
29
30 --
31 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] stripping implementation in portage Brian Harring <ferringb@g.o>