]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
ChangeLog:
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 26 Mar 2010 18:05:46 +0000 (18:05 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 26 Mar 2010 18:05:46 +0000 (18:05 +0000)
commit907af001f77f9dee04ecb77a6cb0d21a55850033
treed242574077c972d14788da2aba69e75bd2def63c
parentdde2d684b0d148d26ad0c7ea8765dc051cbf9a5b
ChangeLog:

* dwarf2read.c (dwarf2_name): Work around GCC bugzilla debug/41828 by
ignoring spurious DW_AT_name attributes for unnamed structs or unions.
* completer.c (add_struct_fields): Fix inverted logic.

testsuite/ChangeLog:

* gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
that do not provide the tagless_struct type name at all.
(test_print_anon_union): Do not check value of uninitialized
union member.  Do not use cp_test_ptype_class, so we can accept
"long" as well as "long int".
gdb/ChangeLog
gdb/completer.c
gdb/dwarf2read.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/inherit.exp