This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: MI: -var-list-children --simple-values
On Wednesday 15 November 2006 23:25, you wrote:
> ...; and if it is 2 or `--simple-values', print the name, type and value
> for simple data types and the name and type for arrays, structures and
> unions. In this last case, a frontend can immediately display the value of
> simple data types and create variable objects for other data types when the
> the user wishes to explore their values in more detail.
>
> ISTR this is what Totalview does (not that it matters but it might help
> some understand its purpose).
>
> > So, while --simple-values might be reasonable for -stack-list-locals,
> > it's not all that needed for -var-list-children.
>
> I can't see where it's needed, but its more trouble to remove than to fix.
Why? Removing is really quick. Fixing requires:
- Fix itself (you've posted it)
- Documentation (specific to -var-list-children).
- Testcase
I did not see the latter two, so I suppose it's still some work ;-)
- Volodya