From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32505 invoked by alias); 18 Oct 2007 04:06:49 -0000 Received: (qmail 32495 invoked by uid 22791); 18 Oct 2007 04:06:48 -0000 X-Spam-Check-By: sourceware.org Received: from nitzan.inter.net.il (HELO nitzan.inter.net.il) (213.8.233.22) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 18 Oct 2007 04:06:46 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-228-242-196.inter.net.il [84.228.242.196]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id IBM14911 (AUTH halo1); Thu, 18 Oct 2007 06:04:03 +0200 (IST) Date: Thu, 18 Oct 2007 04:16:00 -0000 Message-Id: From: Eli Zaretskii To: Pedro Alves CC: brobecker@adacore.com, uweigand@de.ibm.com, gdb-patches@sourceware.org In-reply-to: <471685D3.7060402@portugalmail.pt> (message from Pedro Alves on Wed, 17 Oct 2007 22:59:47 +0100) Subject: Re: Support of gdb for Windows 64 native systems Reply-to: Eli Zaretskii References: <200710161823.l9GIN1Vu023163@d12av02.megacenter.de.ibm.com> <47165541.90206@portugalmail.pt> <20071017194708.GC2068@adacore.com> <471685D3.7060402@portugalmail.pt> 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: 2007-10/txt/msg00443.txt.bz2 > Date: Wed, 17 Oct 2007 22:59:47 +0100 > From: Pedro Alves > CC: Ulrich Weigand , Eli Zaretskii , > gdb-patches@sourceware.org > > There's these 'HANDLE hStdInput, hStdOutput, hStdError' in > STARTUPINFO which may be passed into the CreateProcess call to > redirect io. Yet another way is to use GetStdHandle/SetStdHandle > much like one uses dup2 on unix. In both these alternatives > we'll have to do args processing (<,>, etc) ourselves. I agree that we should do it by redirecting handles directly, not through the shell. > But, is this considered a basic feature? I seldom use it myself. > I don't think it is a show stopper. I don't think it's a show-stopper, just a (temporary) lack of feature. For example, the DJGPP port was part of GDB for years before redirection support was added.