This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: CLI and GDB/MI documentation patch
- From: Nick Roberts <nickrob at snap dot net dot nz>
- To: Vladimir Prus <ghost at cs dot msu dot su>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sun, 14 May 2006 00:43:41 +1200
- Subject: Re: CLI and GDB/MI documentation patch
> 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