(struct varobj): New member print_value.
authorNick Roberts <nickrob@snap.net.nz>
Fri, 5 Jan 2007 21:52:33 +0000 (21:52 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Fri, 5 Jan 2007 21:52:33 +0000 (21:52 +0000)
commit8526541313ba0cc16d8c40b587744d70c325782f
tree69034d8ebe839029278a7c481bffcdef7805f0b4
parent3fa6deb5d8b5be95c89a04dde75c0236e553f155
(struct varobj): New member print_value.
(install_new_value): Compare last printed value with current one
instead of contents.
(new_variable): Initialize var->print_value to NULL.
(free_variable): Free var->print_value.
(value_get_print_value): New function derived from
c_value_of_variable.
(c_value_of_variable): Use value_get_print_value.
gdb/varobj.c