GDB/MI & CLI commands

Keith Seitz keiths@redhat.com
Fri Feb 7 20:29:00 GMT 2003


On Fri, 2003-02-07 at 07:10, Bob Rossi wrote:
> However, I would like to confirm that GDB/MI is supposed to
> accept CLI commands.

It does for now, but this behavior is only temporary. It was used as a
stop-gap for commands that are not yet implemented (from mi-main.c):

    case CLI_COMMAND:
      /* A CLI command was read from the input stream */
      /* This will be removed as soon as we have a complete set of
         mi commands */

Note that CLI commands read in via MI (not via -interpreter-exec) will
have MI output semantics.

Keith




More information about the Gdb mailing list