This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog dwarf2read.c testsuite/Chang ...
- From: jkratoch at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 9 Oct 2011 18:33:28 -0000
- Subject: src/gdb ChangeLog dwarf2read.c testsuite/Chang ...
CVSROOT: /cvs/src
Module name: src
Changes by: jkratoch@sourceware.org 2011-10-09 18:33:28
Modified files:
gdb : ChangeLog dwarf2read.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.cp: anon-struct.exp
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13388&r2=1.13389
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/dwarf2read.c.diff?cvsroot=src&r1=1.561&r2=1.562
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2878&r2=1.2879
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/anon-struct.exp.diff?cvsroot=src&r1=1.1&r2=1.2