Re: CLI and GDB/MI documentation patch

Nick Roberts
2006-05-12T12:44:05Z

> I'd agree with Eli that the proposed text sounds a bit like history, but it
> documents some important points:

I'm not sure I like it because:

> - That you can type CLI commands into MI, and this is not longer considered
> to work just by accident

It was never just by accident, just more of a hack.

> - That typing CLI command has the same effect as -interpreter-exec console

Its not quite the same, the latter goes through mi_cmd_execute but the
former doesn't.

> - That CLI command don't produce async notifications

They don't *currently* produce async notifications but I'm trying to change
that with my branch.

> Those points are important to have documented, IMO.

Putting these things in the manual just makes it harder to change GDB.
I would rather say: "Its there. Use it at your own risk". Or at least:

For the developers convenience CLI commands can be entered directly.
However this feature may be removed at some stage in the future and
it is recommended that front ends use the @code{-interpreter exec} command.
@xref{GDB/MI Miscellaneous Commands}.

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