gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 9 Oct 2011 18:33:28 +0000 (18:33 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 9 Oct 2011 18:33:28 +0000 (18:33 +0000)
commita73d2258a7f0bd52aa9a4df764109c9df7f02e26
tree63e08918a560f241cb08d68731fc9f8768ff2b1d
parentaf369495707bffd0a2bdfc8ba5a088e23d8d4b8f
gdb/
Fix printed anonymous struct name.
* dwarf2read.c (fixup_partial_die): Handle for anonymous structs also
DW_TAG_interface_type.  Strip for anonymous structs any prefixes.
(anonymous_struct_prefix): New function.
(determine_prefix): New variables retval.  Call anonymous_struct_prefix.
(dwarf2_name): Strip for anonymous structs any prefixes.

gdb/testsuite/
Fix printed anonymous struct name.
* gdb.cp/anon-struct.exp (print type of X::t2): New test.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/anon-struct.exp
This page took 0.026287 seconds and 4 git commands to generate.