This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MI fine-grained versioning


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]