MI usage inside a user-defined commands

Alain Magloire alain@qnx.com
Wed Jul 6 14:02:00 GMT 2005


> 
> 
> > The ability to use CLI syntax in MI mode is documented in the manual as
> > an unsupported, transitional feature.
> It is documented, that "MI accepts existing CLI commands" (section 24.4)
> and nothing is said about "unsupported" or "transitional" :)
> 
> > it's not to be used by frontends.
> That is clear, since the output format will be the mess of CLI and MI
> output.
> 


It is also practical, since not all MI Commands are implemented.
So if you want to do something with signals, the backend may not have a
Choice then to fallback to CLI.

Also note that mi2 has -interpreter-exec to allow the use of CLI.
The problem with that is the lost of synchronization state.



More information about the Gdb mailing list