This is the mail archive of the gdb@sources.redhat.com 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 usage inside a user-defined commands


> 
> 
> > 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.


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