* varobj.c (update_dynamic_varobj_children): Don't use
authorTom Tromey <tromey@redhat.com>
Thu, 13 Aug 2009 18:39:20 +0000 (18:39 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 13 Aug 2009 18:39:20 +0000 (18:39 +0000)
commit4e7a5ef5a84e2f120a52def047ef671f8dbd7954
tree4725f0f358a5993278ac1bde5d391739ae6740d4
parentecd0ada520284724373d81f3580cf1e15855b737
* varobj.c (update_dynamic_varobj_children): Don't use
value_copy.
* value.h: (preserve_one_value): Declare.
(value_prepend_to_list, value_remove_from_list): Remove.
* value.c (preserve_one_value): No longer static.
(preserve_values): Call preserve_python_values.
(value_prepend_to_list): Remove.
(value_remove_from_list): Remove.
* python/python.h (values_in_python): Don't declare.
(preserve_python_values): Declare.
* python/python-value.c (values_in_python): Change type.  Move
lower.  Now static.
(struct value_object): Add struct tag.
<next, prev>: New fields.
(valpy_dealloc): Update.
(note_value): New function.
(valpy_new): Use value_incref, note_value.
(preserve_python_values): New function.
(valpy_positive): Don't use value_copy.
(value_to_value_object): Use value_incref, note_value.
(convert_value_from_python): Update comment.
gdb/ChangeLog
gdb/python/python-value.c
gdb/python/python.h
gdb/value.c
gdb/value.h
gdb/varobj.c