This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb varobj.c
- From: nickrob at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 5 Jan 2007 21:52:33 -0000
- Subject: src/gdb varobj.c
CVSROOT: /cvs/src
Module name: src
Changes by: nickrob@sourceware.org 2007-01-05 21:52:33
Modified files:
gdb : varobj.c
Log message:
(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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/varobj.c.diff?cvsroot=src&r1=1.74&r2=1.75