This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [mi] -list-features
> How about 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 command returns a list of strings, with each string naming
> an available feature. Each returned string is just a name, it
> does not have any internal structure. The list of possible
> feature names is given below.
>
> 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.
You've lost me. This is plain text documentation for a command which you
want to implement now but populate later. Something like:
(gdb)
-list-features
^done,features=[]
AFAICS it won't currently return 'frozen-varobjs. Since everyone seems
agreeable to the general idea why not just submit when the patch (source and
documentation) are complete?
--
Nick http://www.inet.net.nz/~nickrob