RFC: MI - Detecting change of string contents with variable objects
Nick Roberts
nickrob@snap.net.nz
Thu Dec 21 22:28:00 GMT 2006
> 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
More information about the Gdb-patches
mailing list