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

Re: MI testsuite to use PTY for inferior


On Sat, Jul 30, 2005 at 09:21:11PM -0400, Daniel Jacobowitz wrote:
> On Sat, Jul 30, 2005 at 07:03:09PM -0400, Bob Rossi wrote:
> > However, since that's pretty ugly, I'll take your suggestion and always
> > create and assign inferior_pty a value. Then I'll check it for the value
> > of "true" before executing any code.
> 
> I recommend doing something different.  Make the argument a flag, i.e.
> "mi_gdb_start use-tty".  Or "no-tty" depending on what you want the
> default to be.

If it would be OK, I'd prefer to just have the TTY work with all MI
tests, not making it optional. I'd like to repost the patch with all of
the problems found already, and with that additional change. Is this OK?

My theory is that no FE can/should use MI with out separating the inferior
output via a pty. So, it's OK to test GDB under these assumptions.

Here is the original patch with Andrew's comments on this, from a while back,
   http://sources.redhat.com/ml/gdb-patches/2005-02/msg00085.html

Thanks,
Bob Rossi


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