Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-dev
Hi,
I actually have a patch (in bug #45756) that does the job.. But there
are two problems which have thus far prevented me from pushing more on
this, first I experience bizarre brokenness with gdb 6.x (#45756).. And
second, binutils<2.14.90.0.8 only copies the debug section, but not the
symbols into the debug file. So using the currently stable binutils, we
have to use strip -g (and it procudes empty .debug files if -g is not in
the cflags) so its not that useful without using the ~arch binutils (and
being able to fully strip the executables).
Also, I'd like to try to see if we could have a features where the
sources are kept for reference like redhat/fedora does with its
-debuginfo rpms. I'll check how redhat does it and if we can do
something similar when I come back from my vacation...
Olivier
On Fri, 2004-04-02 at 10:47, Paul de Vrieze wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Tuesday 16 March 2004 23:02, Olivier Crête wrote:
> > Hi,
> >
> > There is a new features in gdb 6.0 and recent binutils that allows the
> > debug information to be stored in a separate file from the binary.
> > Allowing the memory benefits of stripping while keeping the debugging
> > abilities.
> >
> > Has anyone looked at/worked on this? If no one else is doing it, I'll
> > try to see if I can make it work tomorrow.
>
> It works in conjunction with the --only-keep-debug and
> - --add-gnu-debuglink flags. Look at the binutils info file searching for
> these flags.
>
> Paul
>
> - --
> Paul de Vrieze
> Gentoo Developer
> Mail: pauldv@g.o
> Homepage: http://www.devrieze.net
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
>
> iD8DBQFAbSiRbKx5DBjWFdsRAmcwAKCvrLUYy7/OHheDwYPMBxpsvT2vNACfUZzK
> CwRzP6nr7u1/9O08Be/k/Vc=
> =pJPe
> -----END PGP SIGNATURE-----
>
> --
> gentoo-dev@g.o mailing list
--
Olivier Crête
tester@g.o
Gentoo Developer
|
| Attachment: |
|
signature.asc (This is a digitally signed message part)
|
|