-var-update using formatted value
Daniel Jacobowitz
drow@false.org
Fri Jan 18 15:41:00 GMT 2008
On Fri, Jan 18, 2008 at 10:28:04AM -0500, Marc Khouzam wrote:
> However, and I'm sorry for not letting this go, but what is the point of
> -var-update returning the list of changed variables, if it is so efficient
> to go back to GDB to ask for values? var-update might as well return nothing
> and the let the front-end ask for values again.
> (which is what I'll have to do if I can't cache all formats)
-var-update reads values from the target to check for changes.
-var-update-expression and -var-set-format do not. If you do not
-var-update nothing will ever appear to change.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list