gdb/
authorYao Qi <yao@codesourcery.com>
Mon, 14 Oct 2013 08:16:45 +0000 (08:16 +0000)
committerYao Qi <yao@codesourcery.com>
Mon, 14 Oct 2013 08:16:45 +0000 (08:16 +0000)
commitbb5ce47a22881c8f925459d4622a2126d6a6a751
tree2d461375baac598ac00da8b09203513662144d50
parente84fe78fbc4573769e4e96baf38696354718b382
gdb/

* varobj.c (struct varobj): Move most of the fields to
varobj.h.
(struct varobj_dynamic): New struct.
(varobj_get_display_hint) [HAVE_PYTHON]: Adjust.
(varobj_has_more): Likewise.
(dynamic_varobj_has_child_method): Likewise.
(update_dynamic_varobj_children): Likewise.
(varobj_get_num_children): Likewise.
(varobj_list_children, varobj_pretty_printed_p): Likewise.
(install_new_value_visualizer): Likewise.
(install_new_value_visualizer, install_new_value): Likewise.
(varobj_update, new_variable, free_variable): Likewise.
(my_value_of_variable, value_get_print_value): Likewise.
(install_visualizer): Change the type of parameter 'var' to
'struct varobjd_dynamic *'.  Callers update.
* varobj.h (struct varobj): Moved from varobj.c.
(struct varobj) <dynamic>: New field.
gdb/ChangeLog
gdb/varobj.c
gdb/varobj.h