This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH: gdb/mi + doco] -var-update
> > > I see the reason, but I think it is not important enough to use
> > > "--all-values". Anyway, the switch text does not need to be similar
> > > to the enum name, even if you use PRINT_ALL_VALUES in the enum.
> >
> > OK. But again this only makes sense if I change -var-list-children too.
>
> What change did you have in mind?
info> -var-list-children [PRINT-VALUES] NAME
info> Returns a list of the children of the specified variable object.
info> With just the variable object name as an argument or with an optional
info> preceding argument of 0 or `--no-values', prints only the names of the
info> variables. With an optional preceding argument of 1 or `--all-values',
info> also prints their values. ^^^^^^^^^^^^
If -var-update uses "--with-values" or "--print-values", then so should
-var-list-children.
Nick