src/gdb ChangeLog varobj.c

kseitz@sourceware.org kseitz@sourceware.org
Thu Jan 12 22:51:00 GMT 2012


CVSROOT:	/cvs/src
Module name:	src
Changes by:	kseitz@sourceware.org	2012-01-12 22:51:11

Modified files:
	gdb            : ChangeLog varobj.c 

Log message:
	PR mi/10586
	* varobj.c (ANONYMOUS_STRUCT_NAME): Define.
	(ANONYMOUS_UNION_NAME): Define.
	(is_path_expr_parent): New function.
	(get_path_expr_parent): New function.
	(is_anonymous_child): New function.
	(create_child_with_value): If the child is anonymous and without
	a name, assign an object name to it.
	(c_describe_child): Use get_path_expr_parent to determine
	the parent expression.
	If there field represents an anonymous struct or union and
	has no name, set an appropriate display name and expression.
	(cplus_describe_child): Likewise.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13733&r2=1.13734
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/varobj.c.diff?cvsroot=src&r1=1.187&r2=1.188



More information about the Gdb-cvs mailing list