[commit]+[brach commit] DWARF-3+ DW_AT_accessibility defaults #3 (GCC PR debug/45124)
Jan Kratochvil
jan.kratochvil@redhat.com
Sat Apr 9 11:21:00 GMT 2011
On Fri, 01 Apr 2011 23:03:45 +0200, Jan Kratochvil wrote:
> so here is a patch which works for everything but regresses gcc-4.5.x
> -gdwarf-4, as suggested/allowed by Jakub:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48229#c6
>
> As it has been regression tested enough I will check it in in some time (and
> definitely for gdb-7.3).
[...]
> gdb/
> 2011-04-01 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * dwarf2read.c: Include ctype.h.
> (producer_is_gxx_lt_4_6, dwarf2_default_access_attribute): New
> functions.
> (dwarf2_add_field): Fix new_field->accessibility by calling
> dwarf2_default_access_attribute. Restructure setting accessibility
> vs. virtuality.
> (dwarf2_add_member_fn): New variable accessibility. Fix fnp
> is_private and is_protected by calling
> dwarf2_default_access_attribute.
Checked it on HEAD and on 7.3:
http://sourceware.org/ml/gdb-cvs/2011-04/msg00059.html
http://sourceware.org/ml/gdb-cvs/2011-04/msg00060.html
The 7.3 check in seems to me pre-approved as present on:
http://sourceware.org/gdb/wiki/GDB_7.3_Release
Thanks,
Jan
More information about the Gdb-patches
mailing list