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


 > >  I think you should at least test for ptys first, so that the old tests are
 > > run if/when they are not available.
 > 
 > Won't do any good - expect relies on PTYs.  If the system the tests are
 > run on does not have PTYs, it won't have the testsuite either.

I see.

 > >  More generally I think its wrong to force
 > > the frontend to separate the output.  Currently, I get reasonable behaviour
 > > with Emacs without doing this and would always include interleaved output as a
 > > user option.
 > 
 > Would it hurt you to stitch them back together, though?  The fewer
 > interfaces we have to support, the better...

I guess it would even be safer in cases where the inferior has similar output
e.g debugging GDB itself.  However, I thought there were systems where ptys
weren't available (w32?).  Even if you can't run the testsuite, you might
still want to run GDB there (actually, I thought FSF GDB *is* being ported to
w32 - how is it tested?).

Nick


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