From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22072 invoked by alias); 12 Apr 2007 16:04:01 -0000 Received: (qmail 22041 invoked by uid 22791); 12 Apr 2007 16:04:00 -0000 X-Spam-Check-By: sourceware.org Received: from return.false.org (HELO return.false.org) (66.207.162.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 12 Apr 2007 17:03:58 +0100 Received: from return.false.org (localhost [127.0.0.1]) by return.false.org (Postfix) with ESMTP id 3D5114B267 for ; Thu, 12 Apr 2007 11:03:57 -0500 (CDT) Received: from caradoc.them.org (dsl093-172-095.pit1.dsl.speakeasy.net [66.93.172.95]) by return.false.org (Postfix) with ESMTP id 181CF4B262 for ; Thu, 12 Apr 2007 11:03:57 -0500 (CDT) Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1Hc1m8-0003uI-Jl for gdb@sourceware.org; Thu, 12 Apr 2007 12:03:56 -0400 Date: Thu, 12 Apr 2007 16:04:00 -0000 From: Daniel Jacobowitz To: gdb@sourceware.org Subject: Re: [mingw32] stdin redirection Message-ID: <20070412160356.GA15004@caradoc.them.org> Mail-Followup-To: gdb@sourceware.org References: <20070411134219.GA33609@adacore.com> <20070411144451.GA21140@caradoc.them.org> <20070411145104.GE58502@adacore.com> <20070411151234.GA22185@caradoc.them.org> <20070412145818.GG3886@adacore.com> <20070412151221.GA856@caradoc.them.org> <20070412155253.GH3886@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070412155253.GH3886@adacore.com> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00076.txt.bz2 On Thu, Apr 12, 2007 at 05:52:53PM +0200, Joel Brobecker wrote: > I'm rebuilding GDB as we speak, to confirm that we did run the test > where fd_is_pipe would normally return 0 (basically, the case when > we're inside a cygwin "terminal"). More info soon. If it helps, I believe that when I was testing that code I had an ssh session open from a Linux desktop to my Cygwin system using Cygwin sshd, and was running GDB in there. That definitely triggers the pipe case. Of course the console will be a little wonky because of buffering. -- Daniel Jacobowitz CodeSourcery