This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Work around binutils/15021
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches <gdb-patches at sourceware dot org>, Tom Tromey <tromey at redhat dot com>, Cary Coutant <ccoutant at google dot com>, Sterling Augustine <saugustine at google dot com>, Jakub Jelinek <jakub at redhat dot com>
- Date: Wed, 12 Jun 2013 20:16:19 +0200
- Subject: Re: [RFA] Work around binutils/15021
- References: <yjt24nigsohy dot fsf at ruffy2 dot mtv dot corp dot google dot com> <20130608160421 dot GA10141 at host2 dot jankratochvil dot net> <CADPb22QnTxx6Szx6-sp+buS5sKnaGka_GkZJF0JuEpB_uztQCQ at mail dot gmail dot com>
On Wed, 12 Jun 2013 01:39:43 +0200, Doug Evans wrote:
> The gold "bug" is that, when using pubnames(/pubtypes) to generate the
> index, gold doesn't have sufficient info to generate as "accurate" a
> .gdb_index ("accurate" as in: the CU will have a DW_AT_GNU_pubtypes
> attribute when it would be better if the TU had that attribute).
> If those sections are missing then gold falls back to reading all the
> debug info and using that to generate the index, and when it does that
> it can generate a better index, and I'm guessing that's what you're
> seeing.
I get the same .gdb_index content from gold even when I use -gpubnames.
> There is no change in the file format or semantics between 7 and 8, so
> no change should be needed for dwz.
But I am fine enough with this reply.
Thanks!
Jan