From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8747 invoked by alias); 25 Oct 2008 16:24:02 -0000 Received: (qmail 8738 invoked by uid 22791); 25 Oct 2008 16:24:02 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 25 Oct 2008 16:23:22 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 07ECB1053E; Sat, 25 Oct 2008 16:23:20 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id C8BE61053D; Sat, 25 Oct 2008 16:23:19 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1Ktlv4-00044R-MU; Sat, 25 Oct 2008 12:23:18 -0400 Date: Sat, 25 Oct 2008 16:24:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: Eli Zaretskii , gdb-patches@sourceware.org Subject: Re: [RFA/RFC] new setting against auto-answer? (because "input not from terminal") Message-ID: <20081025162318.GA15349@caradoc.them.org> Mail-Followup-To: Joel Brobecker , Eli Zaretskii , gdb-patches@sourceware.org References: <20081025010445.GC29038@adacore.com> <20081025154528.GE29998@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081025154528.GE29998@adacore.com> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-10/txt/msg00643.txt.bz2 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