This is the mail archive of the
mailing list for the GDB project.
Re: Questions about GDB-MI Interface
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Cc: chanskw at ca dot ibm dot com, gdb at sources dot redhat dot com
- Date: Thu, 25 Apr 2002 09:41:09 -0400
- Subject: Re: Questions about GDB-MI Interface
- References: <Pine.SUN.3.91.1020425085252.17284B@is>
> On Wed, 24 Apr 2002 email@example.com wrote:
>> in mi/mi-main.c, where the CLI command forwarding is done, that says
>> /* A CLI command was read from the input stream */
>> /* This will be removed as soon as we have a complete set of
>> mi commands */
>> Before we decide to go down the path of switching to MI, we need to confirm
>> that CLI-in-MI capability will continue to be available for us to provide a
>> console window for our users.
> I second that. If this is removed, I think GDB/MI should introduce an
> alternative feature with equivalent functionality, like some special
> command that will allow a CLI command to be fed to MI.
There is a bit of history here.
The above was added as a ``hack'' so that people could enter normal
commands into the CLI while debugging things. It wasn't intended as a
published interface. The comments and documentation were strongly
worded in an attept to stop people trying to pin GDB down on either the
mechanisms interface (it doesn't exist) or long term support).
It was added with much hesitation because there was real concern that
once a vaguely looking console mechanism was added, people would try to
use it instead of investing the time and resources needed to address the
problem of implementing a real console interface.