From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18136 invoked by alias); 12 Apr 2007 19:51:10 -0000 Received: (qmail 18125 invoked by uid 22791); 12 Apr 2007 19:51:09 -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 20:51:07 +0100 Received: from return.false.org (localhost [127.0.0.1]) by return.false.org (Postfix) with ESMTP id 0D3464B267; Thu, 12 Apr 2007 14:51:06 -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 BAAD24B262; Thu, 12 Apr 2007 14:51:05 -0500 (CDT) Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1Hc5Jw-0001NI-Ve; Thu, 12 Apr 2007 15:51:04 -0400 Date: Thu, 12 Apr 2007 19:51:00 -0000 From: Daniel Jacobowitz To: Eli Zaretskii Cc: Joel Brobecker , gdb@sourceware.org Subject: Re: [mingw32] stdin redirection Message-ID: <20070412195104.GA5268@caradoc.them.org> Mail-Followup-To: Eli Zaretskii , Joel Brobecker , 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> <20070412164744.GL3886@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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/msg00087.txt.bz2 On Thu, Apr 12, 2007 at 10:33:24PM +0300, Eli Zaretskii wrote: > Can't we maintain a list of all file descriptors used by GDB, where > those which are open on a pipe are marked as such? Then we'd _know_ > what API with each fd to use without relying on dysfunctional tests. We already do that. However, this is stdin; it's handed to us as a file descriptor, without any instructions. -- Daniel Jacobowitz CodeSourcery