1 |
On Tuesday 05 November 2002 10:49, Yannick Koehler wrote: |
2 |
> Hi, |
3 |
> |
4 |
> Recently I hitted a problem with valgrind which required me to re-compiled |
5 |
> certain library already installed on my system. This triggered some |
6 |
> thoughts as to how could gentoo support a debugging scenario. Has anyone |
7 |
> though of something in this area? |
8 |
> |
9 |
> I'm thinking of something like emerge --with-debug libxml which would then |
10 |
> do most of the same stuff as normal except that it would run ./configure |
11 |
> with --enable-debug or appropriate options to trigger the gcc -g flag and |
12 |
> before cleaning up the temp/work folder from /usr/portage it would install |
13 |
> in a debug folder the source file so that gdb could find the symbol when |
14 |
> debugging the libxml compiled using that technique. |
15 |
> |
16 |
> The problem I hit is that I am unaware how gdb retrieve the source file. |
17 |
> What path he looks for first etc, in order to install the source at the |
18 |
> correct location. Also great would be to have only the source installed |
19 |
> and cleaning the rest (object etc...) unless someone set the maintainer |
20 |
> autoclean to off. |
21 |
|
22 |
Make a bug for this. I agree with your request. |
23 |
|
24 |
Paul |
25 |
|
26 |
-- |
27 |
Paul de Vrieze |
28 |
Junior Researcher |
29 |
Mail: pauldv@××××××.nl |
30 |
Homepage: http://www.cs.kun.nl/~pauldv |
31 |
|
32 |
|
33 |
-- |
34 |
gentoo-dev@g.o mailing list |