[mi] -list-features
Vladimir Prus
ghost@cs.msu.su
Tue Aug 28 17:47:00 GMT 2007
On Tuesday 28 August 2007 21:15:03 Daniel Jacobowitz wrote:
> On Tue, Aug 28, 2007 at 09:11:34PM +0400, Vladimir Prus wrote:
> >
> > Some time ago I've proposed to add MI command
> > that will list "supported features", to enable
> > frontends to conditionalize their behaviour easily.
> > It was generally supported, so here there patch.
> > So far, no features are reported. OK?
>
> I used the word "features" for something once and then I got myself
> completely confused when I had two different things it described.
> Can we be more specific? Features of what?
Of MI.
> I think we need proposed documentation more than we need the
> implementation for this simple command :-)
Ok, guess I won't write texinfo for now, so plain text documentation
would be this:
-list-features
Returns a list of particular features of the MI protocol that
this version of gdb implements. A feature can be a command,
or a new field in an output of some command, or even an
important bugfix. While a frontend can sometimes detect presence
of a feature at runtime, it is easier to perform detection at debugger
startup. The current list of features is:
- 'frozen-varobjs' -- indicates presence of -var-set-frozen command,
as well as possible presense of the 'frozen' field in the output of
-varobj-create.
.........
- Volodya
More information about the Gdb-patches
mailing list