This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: -var-update using formatted value
Nick wrote:
> "-var-update --all-values" returns the value in hex so currently I don't think
> you need it in the output of "-var-set-format".
Can I get a clarification on what var-update is -really- supposed to do?
I say var-update should show changes when they occur on the target
and that var-update should only be used once per varObject when a program stops.
You say var-update should show changes when they affect the display, independently
of if they were caused by a content change in the target or a format change in GDB.
In that case, var-update is used multiple times without the program having stepped.
What is var-update really meant to do?