This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/RFC] new setting against auto-answer? (because "input not from terminal")
On Sat, Oct 25, 2008 at 08:45:29AM -0700, Joel Brobecker wrote:
> I assume that the first issue (with cygwin sshd) is fixable, since
> running cygwin's GDB, the debugger detects a "terminal" and runs in
> the right mode. I'll take a look at the sources and see if I can find
> something.
It is very, very hard :-(
The only way we've been able to find to deal with this is to find
Cygwin and ask it if there's a TTY; and you can't even do it by
spawning /bin/tty, since tty-ness won't pass through an intermediate
Windows process.
--
Daniel Jacobowitz
CodeSourcery