This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -var-update using formatted value


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]