This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: MI - Detecting change of string contents with variable objects
> Why do you need the value_get_print_value function? I think that the right
> semantic of -var-update is that it returns all such variable objects for
> which the -var-evaluate-expression will return different value before and
> after -var-update. -var-evaluate-expression is the only way to get a value
> of varobj, so we should be using that, not some similar but different
> function.
>
> In order words, why can't you just call varobj_get_value instead of
> introducing and calling a new function?
Because -var-evaluate-expression uses varobj_get_value so they will always
return the same value?
--
Nick http://www.inet.net.nz/~nickrob