This is the mail archive of the gdb-patches@sourceware.org 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]

Re: MI testsuite to use PTY for inferior


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


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