This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix DWARF-3+ DW_AT_accessibility default assumption
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 8 Mar 2011 18:55:50 +0100
- Subject: Re: [patch] Fix DWARF-3+ DW_AT_accessibility default assumption
- References: <20110125193748.GA25086@host1.dyn.jankratochvil.net>
On Tue, 25 Jan 2011 20:37:48 +0100, Jan Kratochvil wrote:
> GDB regresses on default compiler option -gdwarf-3 on gcc-4.6+ as this gcc
> started to omit DW_AT_accessibility for the default value case. Normal
> upstream gcc still has -gdwarf-2 default (Fedora uses -gdwarf-3 default).
[...]
> I will check it in in some time.
[...]
> gdb/
> 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> Fix DWARF-3+ DW_AT_accessibility default assumption.
> * dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for
> cu->header.version >= 3.
Checked in. Dealing with testsuite results on FSF GDB was difficult.
http://sourceware.org/ml/gdb-cvs/2011-03/msg00115.html
Thanks,
Jan