gdb
authorTom Tromey <tromey@redhat.com>
Tue, 29 Mar 2011 17:04:31 +0000 (17:04 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 29 Mar 2011 17:04:31 +0000 (17:04 +0000)
commit53832f31471912a20ce0a1d0182ecd0633b3f1ec
tree94610986f187b4f7958e65b6ca2d4fab5100722a
parent09b587083c5b3e18b5b9b86ba7b4cf9839658d0d
gdb
* dwarf2read.c (fixup_partial_die): Handle linkage name on
otherwise anonymous types.
(dwarf2_name): Likewise.
* valops.c (value_struct_elt_for_reference): Refine artificial
type logic.  Call error if j==-1.
gdb/testsuite
* gdb.cp/anon-struct.cc: New file.
* gdb.cp/anon-struct.exp: New file.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/anon-struct.cc [new file with mode: 0644]
gdb/testsuite/gdb.cp/anon-struct.exp [new file with mode: 0644]
gdb/valops.c