Subject: Re: gdb input/output redirection
From: [email-masked] (Christopher G. Faylor)

27 Nov 1998 02:11:55 GMT
Message-ID: <[email-masked]>
References: <[email-masked]>
X-Newsreader: trn 4.0-test63 (15 March 1998)

In article <[email-masked]>,
Maarten Huisjes <[email-masked]> 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.
-- 
[email-masked]
http://www.cygnus.com/