This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Output of CLI commands under --interpreter=mi


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]