This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RCF 00/11] Visit varobj available children only in MI
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: Yao Qi <yao at codesourcery dot com>, "gdb-patches at sourceware dot org ml" <gdb-patches at sourceware dot org>
- Date: Wed, 8 Jan 2014 15:41:35 +0400
- Subject: Re: [RCF 00/11] Visit varobj available children only in MI
- Authentication-results: sourceware.org; auth=none
- References: <1385258996-26047-1-git-send-email-yao at codesourcery dot com> <52CC45DD dot 3000407 at redhat dot com>
> I have a few questions about this proposed feature. I understand
> you've inherited quite a bit of the code, and thank you for pursuing
> this submission.
All really good questions! And a major reason why I spend the time
to discuss new features with the rest of the community ahead of
implementing it :-) (I realize this is always possible, of course).
> I believe Joel has committed the MI "features" series; an update to
> this might be desirable [perhaps Joel might be able to offer an
> opinion].
That's a good suggestion. At the moment, and assuming we maintain
the idea of extending a command, the only option at the moment is
to add an entry to the output of the -list-features command. But,
for static command-line options like this, we could enhance the
-info-gdb-mi-command command to provide feature lists as well.
At the moment, it's unclear that we're in any danger of increasing
the size of the -list-features list, so people will probably want
to KISS and update -list-features instead.
--
Joel