MI fine-grained versioning

Daniel Jacobowitz drow@false.org
Mon Dec 18 15:47:00 GMT 2006


On Mon, Dec 18, 2006 at 06:35:33PM +0300, Vladimir Prus wrote:
> Yet another approach is to "detect" presence of feature by trying some commands,
> or by trying commands with some new options, or by constructing more contrived test
> cases. However that's troublesome.
> 
> 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.
> 
> Comments?

If you want to do this, it sounds like this is the right way - compare
to the qSupported I recently added for the remote protocol.  I guess
this is the logical place to add a list of supported MI versions,
too...

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list