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.43) id 1E7chq-0003uC-V4 for garchives@archives.gentoo.org; Tue, 23 Aug 2005 17:37:03 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7NHZOjU000603; Tue, 23 Aug 2005 17:35:24 GMT Received: from mail.max-t.com (h216-18-124-229.gtcust.grouptelecom.net [216.18.124.229]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7NHXhMh031998 for ; Tue, 23 Aug 2005 17:33:43 GMT Received: from cocagne.max-t.internal ([192.168.1.124]) by mail.max-t.com with esmtp (Exim 4.44) id 1E7cfR-0000rS-7s for gentoo-dev@lists.gentoo.org; Tue, 23 Aug 2005 13:34:36 -0400 From: Olivier Crete To: gentoo-dev@lists.gentoo.org In-Reply-To: <200508231116.56154.pauldv@gentoo.org> References: <20050822223849.GW10816@nightcrawler> <200508231116.56154.pauldv@gentoo.org> Content-Type: text/plain; charset=UTF-8 Organization: Gentoo Date: Tue, 23 Aug 2005 13:34:33 -0400 Message-Id: <1124818473.12024.76.camel@cocagne.max-t.internal> 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.2.2 (2.2.2-5) X-SA-Exim-Connect-IP: 192.168.1.124 X-SA-Exim-Mail-From: tester@gentoo.org Subject: Re: [gentoo-dev] stripping implementation in portage X-SA-Exim-Version: 4.1+cvs (built Fri, 14 Jan 2005 20:35:17 +0000) X-SA-Exim-Scanned: No (on mail.max-t.com); Unknown failure X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j7NHXhMh031998 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id j7NHZOl2000603 X-Archives-Salt: 9b31026b-28c1-4494-876e-a8616f336da7 X-Archives-Hash: 4d0c7e8c33d3fb2a0fd40c4c3111c572 On Tue, 2005-23-08 at 11:16 +0200, Paul de Vrieze wrote: > As an aside to this. Does anyone know how debug information can be chan= ged=20 > to have a different basedir. My idea was to create a "custom" strip=20 > wrapper that would create external debugging files (like now possible=20 > with gdb/binutils) and point them to a location=20 > in /usr/src/packagenameplusversion. For that it would be necessary to i= n=20 > some way hack the source location in the debug information. There is already a patch [1] in bugzilla that does that.. And in bonus to keeping the debug files (currently in /.debug/libname.so.dbg but that can be changed) . It can also keep the source files in /usr/src/debug so they can loaded by gdb (pretty useful when debugging into libraries).=20 It creates 3 new features, keepdebug, keepdebugbin and keepsources keepdebug will keep the debug symbols for libs keepdebugbin will keep then for non-lib binaries and keepsources will keep the related sources.. [1] http://bugs.gentoo.org/show_bug.cgi?id=3D45150 --=20 Olivier Cr=C3=AAte tester@gentoo.org Gentoo Developer x86 Security Liaison --=20 gentoo-dev@gentoo.org mailing list