public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Feature Request: compiling debug + symbol install ebuild?
@ 2002-11-05  9:49 Yannick Koehler
  2002-11-05 15:02 ` Paul de Vrieze
  0 siblings, 1 reply; 2+ messages in thread
From: Yannick Koehler @ 2002-11-05  9:49 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

	Recently I hitted a problem with valgrind which required me to re-compiled 
certain library already installed on my system.  This triggered some thoughts 
as to how could gentoo support a debugging scenario.  Has anyone though of 
something in this area?

	I'm thinking of something like emerge --with-debug libxml which would then do 
most of the same stuff as normal except that it would run ./configure with 
- --enable-debug or appropriate options to trigger the gcc -g flag and before 
cleaning up the temp/work folder from /usr/portage it would install in a 
debug folder the source file so that gdb could find the symbol when debugging 
the libxml compiled using that technique.

	The problem I hit is that I am unaware how gdb retrieve the source file.  
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 installed and 
cleaning the rest (object etc...) unless someone set the maintainer autoclean 
to off.

- -- 

Yannick Koehler
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9x5QYfuKOJNEyL1URAoW2AJ9PWioN5F3e09aqzq56u93b+klXvgCeK6A8
k272SUk7T4p0bR1snlsPrR8=
=L0D2
-----END PGP SIGNATURE-----


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-05 15:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-05  9:49 [gentoo-dev] Feature Request: compiling debug + symbol install ebuild? Yannick Koehler
2002-11-05 15:02 ` Paul de Vrieze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox