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: Sat, 26 Nov 2005 18:57:58
Message-Id: 1133031325.5422.317.camel@localhost
In Reply to: Re: [gentoo-dev] Split ELF Debug (defult or not?) by Bruno
1 On Sat, 2005-11-26 at 19:30 +0100, Bruno wrote:
2
3 [snip]
4
5 > What's the advantage of splitting out the debug info to some extra location
6 > instead of leaving it in the original binary (maybe smaller foot-print in
7 > memory while the debugging info is not used),
8
9 Yes exactly a stripped binary will occupy less space in RAM.
10
11
12 > and what tools are compatible
13 > with this external debug info?
14
15 gdb being the main one.
16
17 With tools like valgrind you can simply do.
18 LD_LIBRARY_PATH=/usr/lib/debug valgrind --foo
19
20 ELF is cool like that.
21
22
23 --
24 Ned Ludd <solar@g.o>
25 Gentoo Linux
26
27 --
28 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Split ELF Debug (default or not?) "Kevin F. Quinn" <kevquinn@g.o>