MI query questions
Daniel Jacobowitz
drow@false.org
Tue May 30 21:15:00 GMT 2006
On Tue, May 30, 2006 at 01:14:12PM -0700, Jim Ingham wrote:
> I also like this =read-one-line thingie, because it makes it explicit
> what's going on, namely something other than the MI is trying to read
> one line of input. So the FE should solicit a line of input from
> whoever it's getting that from in the command that caused this
> message to be delivered, and send it on...
While I agree at first look, on the other hand:
(A) It messes up pipelining. You can't throw five commands at GDB at
once, if one of them might eat further input.
(B) It makes parsing the output somewhat trickier.
Would it be helpful to have some general solution for this, presumably
involving completions (i.e. closures)? Come back and answer the prompt
when you're ready?
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list