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: CLI commands in MI


 > > > I'm thinking it would be a good idea to remove the ability to enter CLI
 > > > commands into the MI interpreter. Does anyone disagree?
 > > 
 > > No way.  The fact is, the MI command set is not complete, and
 > > -interpreter-exec is still recent.  I would expect most front ends
 > > to still require this support, for the indefinite future.
 > 
 > Whoa, I don't think it matters if FE's are using this feature. Read the
 > manual,
 > 
 >   This mechanism is provided as an aid to developers of GDB/MI clients and
 >   not as a reliable interface into the CLI. Since the command is being
 >   interpreteted in an environment that assumes GDB/MI behaviour, the exact
 >   output of such commands is likely to end up being an un-supported hybrid
 >   of GDB/MI and CLI output.

There was thread about this paragraph on this mailing list a month ago.  It was
written before Jim Ingham, Andrew Cagney et al wrote -interpreter-exec to
switch interpreters, so the lack of reliability is not true anymore.


-- 
Nick                                           http://www.inet.net.nz/~nickrob


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