From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1Eg5FF-0004fv-OT for garchives@archives.gentoo.org; Sat, 26 Nov 2005 18:57:58 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAQIvHT9029909; Sat, 26 Nov 2005 18:57:17 GMT Received: from skinny.southernlinux.net (ns2.rednecks.net [64.192.52.5]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jAQItRbC008607 for ; Sat, 26 Nov 2005 18:55:28 GMT Received: (qmail 16718 invoked by uid 210); 26 Nov 2005 13:48:36 -0500 Received: from 64.192.53.57 by skinny (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.82/1195. f-prot: 4.4.2/3.14.11. spamassassin: 3.0.2. perlscan: 1.25st. Clear:RC:1(64.192.53.57):. Processed in 0.0636 secs); 26 Nov 2005 18:48:36 -0000 Received: from unknown (HELO montgomery-57.epproach.net) (64.192.53.57) by 0 with SMTP; 26 Nov 2005 13:48:35 -0500 Subject: Re: [gentoo-dev] Split ELF Debug (default or not?) From: Ned Ludd To: gentoo-dev@lists.gentoo.org In-Reply-To: <200511261930.59418.bonbons67@internet.lu> References: <1133027430.5317.307.camel@localhost> <200511261930.59418.bonbons67@internet.lu> Content-Type: text/plain Organization: Gentoo Linux Date: Sat, 26 Nov 2005 13:55:25 -0500 Message-Id: <1133031325.5422.317.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 1b3d53d4-fdcb-449d-8908-28447ae93a77 X-Archives-Hash: 8ed053403574db758aa371f19a22f1bd On Sat, 2005-11-26 at 19:30 +0100, Bruno wrote: [snip] > What's the advantage of splitting out the debug info to some extra location > instead of leaving it in the original binary (maybe smaller foot-print in > memory while the debugging info is not used), Yes exactly a stripped binary will occupy less space in RAM. > and what tools are compatible > with this external debug info? gdb being the main one. With tools like valgrind you can simply do. LD_LIBRARY_PATH=/usr/lib/debug valgrind --foo ELF is cool like that. -- Ned Ludd Gentoo Linux -- gentoo-dev@gentoo.org mailing list