From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19105 invoked by uid 1002); 5 Nov 2002 15:28:16 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 19096 invoked from network); 5 Nov 2002 15:28:15 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Paul de Vrieze To: gentoo-dev@gentoo.org Date: Tue, 5 Nov 2002 16:02:23 +0100 User-Agent: KMail/1.4.3 References: <200211050449.14076.yannick.koehler@colubris.com> In-Reply-To: <200211050449.14076.yannick.koehler@colubris.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200211051602.23913.gentoo-user@devrieze.net> Subject: Re: [gentoo-dev] Feature Request: compiling debug + symbol install ebuild? X-Archives-Salt: 3c448d0b-b1ef-4767-90e2-9c84f3603bc8 X-Archives-Hash: e5c313cf3519d0f89beebdfbce4b2444 On Tuesday 05 November 2002 10:49, Yannick Koehler wrote: > Hi, > > =09Recently I hitted a problem with valgrind which required me to re-co= mpiled > certain library already installed on my system. This triggered some > thoughts as to how could gentoo support a debugging scenario. Has anyo= ne > though of something in this area? > > =09I'm thinking of something like emerge --with-debug libxml which woul= d then > do most of the same stuff as normal except that it would run ./configur= e > with --enable-debug or appropriate options to trigger the gcc -g flag a= nd > before cleaning up the temp/work folder from /usr/portage it would inst= all > in a debug folder the source file so that gdb could find the symbol whe= n > debugging the libxml compiled using that technique. > > =09The problem I hit is that I am unaware how gdb retrieve the source f= ile. > What path he looks for first etc, in order to install the source at the > correct location. Also great would be to have only the source installe= d > and cleaning the rest (object etc...) unless someone set the maintainer > autoclean to off. Make a bug for this. I agree with your request. Paul --=20 Paul de Vrieze Junior Researcher Mail: pauldv@cs.kun.nl Homepage: http://www.cs.kun.nl/~pauldv -- gentoo-dev@gentoo.org mailing list