MI testsuite to use PTY for inferior
Nick Roberts
nickrob@snap.net.nz
Sat Jul 30 22:47:00 GMT 2005
Bob Rossi writes:
> > This seems to try to open a new pty even if inferior_pty is false. Shouldn't
> > the condition, here and elsewhere, be:
> >
> > if { $inferior_pty } {
>
> I think this could be a style issue, but I'm not sure. I only create the
> inferior_pty variable if mi_gdb_start's INFERIOR_PTY is true. Then I
> check in later calls to see if the variable inferior_pty exists via
> 'info exists inferior_pty'.
Perhaps I've not understood the context but what if somenone uses:
if {[mi_gdb_start false]} {
as a condition for a test?
Nick
More information about the Gdb-patches
mailing list