This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog varobj.c
- From: vprus at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 24 Jan 2007 11:08:47 -0000
- Subject: src/gdb ChangeLog varobj.c
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