Re: CLI commands in MI

Bob Rossi
2006-05-11T10:57:26Z

On Thu, May 11, 2006 at 10:52:10PM +1200, Nick Roberts wrote:
> > > > 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.

OK, we should update the manual. Also, unless we update to mi3, it's
bad that the FE has no way of knowing if there GDB is broken or not.

Bob Rossi