Output of CLI commands under --interpreter=mi

Eli Zaretskii eliz@is.elta.co.il
Sat Apr 20 00:02:00 GMT 2002


Nick Roberts is working on changing gud.el in Emacs to use the GDB/MI
interface instead of the current --fullname option.  I think it's a
terrific move, but there's a snag which I believe should be hit by
almost any front end to GDB: the MI output format.

The problem is that a front end, certainly the GUD, should be able to
let the user type the normal CLI commands as well.  GDB/MI does
accept CLI input (and should continue doing so), but the output is
always in MI format, which is unpalatable to humans.

Is it possible to change GDB/MI so that CLI commands get responded with
the CLI-style output, while MI commands get the MI style output?

TIA



More information about the Gdb mailing list