src/gdb ChangeLog dwarf2read.c testsuite/Chang ...

jkratoch@sourceware.org jkratoch@sourceware.org
Sun Oct 9 18:33:00 GMT 2011


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



More information about the Gdb-cvs mailing list