From: cgf@cygnus.com (Christopher G. Faylor)
Subject: Re: gdb input/output redirection
27 Nov 1998 02:11:55 GMT
Message-ID: <73l1pb$5po$1@cronkite.cygnus.com>
References: <365D4D0B.1AD2255F.cygnus.gnu-win32@emendo.nl>
X-Newsreader: trn 4.0-test63 (15 March 1998)

In article <365D4D0B.1AD2255F.cygnus.gnu-win32@emendo.nl>,
Maarten Huisjes <maarten@emendo.com> wrote:
>It seems that input & output redirection in gdb does not work e.g
>
><gdb> run > outfile
>
>passes "> outfile" to the program instead of redirecting the output, as
>advertised (help run)
>
>I'm using the gdb from Cygwin B20.

Yup.  It would be difficult to get gdb to parse the command line options
like the shell.  Input/output redirection just doesn't work currently.

Patches welcome.
-- 
cgf@cygnus.com
http://www.cygnus.com/
