src/gdb ChangeLog varobj.c

vprus@sourceware.org vprus@sourceware.org
Wed Jan 24 11:08:00 GMT 2007


CVSROOT:	/cvs/src
Module name:	src
Changes by:	vprus@sourceware.org	2007-01-24 11:08:47

Modified files:
	gdb            : ChangeLog varobj.c 

Log message:
	Refactor getting children name, value and type access
	for varobjs in C++.
	* varobj.c (get_type_deref): Remove.
	(adjust_value_for_child_access): New.
	(c_number_of_children): Use the above.
	(c_describe_child): Likewise.
	(enum accessibility): New.
	(match_accessibility): New function.
	(cplus_describe_child): New function.
	(cplus_name_of_child, cplus_value_of_child)
	(cplus_type_of_child): Reimplement in terms
	of cplus_describe_child.
	(cplus_number_of_children): Use
	adjust_value_for_child_access.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.8135&r2=1.8136
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/varobj.c.diff?cvsroot=src&r1=1.80&r2=1.81



More information about the Gdb-cvs mailing list