Gentoo Logo
Gentoo Spaceship

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
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-dev@g.o
From: Olivier Crête <tester@g.o>
Subject: Re: separate debug information
Date: Fri, 02 Apr 2004 13:35:28 +0200

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< 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...


On Fri, 2004-04-02 at 10:47, Paul de Vrieze wrote:
> 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:
> Version: GnuPG v1.2.4 (GNU/Linux)
> CwRzP6nr7u1/9O08Be/k/Vc=
> =pJPe
> --
> gentoo-dev@g.o mailing list
Olivier Crête
Gentoo Developer
signature.asc (This is a digitally signed message part)
Re: separate debug information
-- Paul de Vrieze
separate debug information
-- Olivier Crête
Re: separate debug information
-- Paul de Vrieze
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: separate debug information
Next by thread:
Re: separate debug information
Previous by date:
xchat's use of local USE flag xchatnogtk
Next by date:
Re: separate debug information

Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.