Re: [patch] Fix DWARF-3+ DW_AT_accessibility default assumption

Jan Kratochvil
2011-03-08T17:56:02Z

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