This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: -var-update @
- From: "Marc Khouzam" <marc dot khouzam at ericsson dot com>
- To: André Pönitz <apoenitz at trolltech dot com>, <gdb-patches at sourceware dot org>
- Date: Tue, 1 Apr 2008 09:23:29 -0400
- Subject: RE: -var-update @
> As an example I don't need the 'intermediate level' of public/protected/private
> information for C++ objects, since I do not want to display that anyway.
> Yet I have to ask for --all-children, wait for the response, parse it, only to
> discover that it cointains a, say, private and a public block, and ask again
> for the 'real' children now. So that's two full roundtrips for what could be one...
That is good example of something that would be nice to improve.
Maybe having a -depth option to the var-list-children command?
In DSF, we always go to a full depth, so we have no real use for having to
separately query at each level of children.
Marc