gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sat, 9 Apr 2011 11:15:29 +0000 (11:15 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sat, 9 Apr 2011 11:15:29 +0000 (11:15 +0000)
commit60d5a603bb6cfff6ffe179ebd10271ae5d0b6287
treef2ea1a71d61b8b52b9ee147a8834c9ced38d21ac
parentc36f9691abe9e2c549d9c401be44e66c8f10dc7d
gdb/
Fix DW_AT_accessibility compatibility with gcc-4.6+.
* 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.
gdb/ChangeLog
gdb/dwarf2read.c