MI fine-grained versioning

Bob Rossi bob_rossi@cox.net
Mon Dec 18 19:56:00 GMT 2006


On Tue, Dec 19, 2006 at 08:47:35AM +1300, Nick Roberts wrote:
>  > > How about adding new MI command that returnes list of supported
>  > > fine-grained features.  For example:
>  > > 
>  > > 	-list-features
>  > > 	^done,result=["frozen_variables","info_path_expression"]
>  > > 
>  > > The MI manual would contain a section listing all feature names and
>  > > briefly documenting them.
>  > 
>  > Great idea!
>  > 
>  > There are a few gothcha's. For instance, each command can support
>  > several parameters, so you might want to report on that. But more
>  > tricky, is when a command adds an output field that the front end cares
>  > about.
> 
> In the manual we already explain that front ends should be able to handle
> extra fields in MI output.  The front end would need to do this just
> to handle -list-features.

Yes, this should be obvious. I'm suggesting that the front end might
rely on a particular field to be sent from an MI command to consider it
a valid 'version'. Anyways, a good solution to this problem was already
given on the list.

Bob Rossi



More information about the Gdb mailing list