This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: .gdb_index version 4? [Re: [commit] fix symtab/12302]
- From: Doug Evans <dje at google dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: Tom Tromey <tromey at redhat dot com>, gdb-patches at sourceware dot org
- Date: Fri, 21 Jan 2011 08:23:49 -0800
- Subject: Re: .gdb_index version 4? [Re: [commit] fix symtab/12302]
- References: <20101208191549.1E09C2461AD@ruffy.mtv.corp.google.com> <20110121131956.GA1999@host1.dyn.jankratochvil.net>
On Fri, Jan 21, 2011 at 5:19 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> On Wed, 08 Dec 2010 20:15:49 +0100, Doug Evans wrote:
>> fyi, I've committed this fix to symtab/12302.
>> It changes address table generation to be a simple dump of the current
>> addrmap.
>
> This means there exist .gdb_indexes out there (such as whole Fedora 14) which
> break GDB behavior (I could not list glibc sources today before -readnow).
>
> Do you agree with upgrading the index version, Tom?
>
> Also thanks for the fix, Doug.
For reference sake,
you'll also need to update binutils/dwarf.c:display_gdb_index.