Re: MI testsuite to use PTY for inferior

Daniel Jacobowitz
2005-08-13T17:26:26Z

On Sat, Aug 13, 2005 at 12:55:18PM -0400, Bob Rossi wrote:
> In this way, the FE can still break the output into lines, and it can
> strcmp the line to determine if the output is from GDB or the inferior.
> The "unique-key" takes care of the case where you are actually debugging
> GDB, because once the FE get's the '=inferior-starting unique-key' line,
> it doesn't care how many =inferior-started or =inferior-stopped lines
> get sent out until the key matches.
>
> This sounds like a very simple solution. What does everyone think?

MI is supposed to (eventually at least) accept some commands while the
inferior is running. I think this would break that, and add much
complexity. They're different streams logically; we should separate
them, not invest more effort in interleaving them.

--
Daniel Jacobowitz
CodeSourcery, LLC