This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: MI testsuite to use PTY for inferior
> Date: Mon, 1 Aug 2005 15:25:45 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: eliz@gnu.org, gdb-patches@sources.redhat.com
>
> The buffering gets annoying on Windows because some applications use
> Windows library calls to detect a console and control buffering
> accordingly.
Such programs are not suited for debugging by GDB. One could attach
GDB from another command prompt window to try to alleviate the pain.
And, if GDB is very careful in how it uses another file handle for
terminal I/O, the Windows calls that fiddle with terminal settings
will not affect GDB, only the debuggee.