From: cgf AT cygnus DOT 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 DOT 1AD2255F DOT cygnus DOT gnu-win32 AT emendo DOT nl> X-Newsreader: trn 4.0-test63 (15 March 1998) In article <365D4D0B DOT 1AD2255F DOT cygnus DOT gnu-win32 AT emendo DOT nl>, Maarten Huisjes wrote: >It seems that input & output redirection in gdb does not work e.g > > 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 AT cygnus DOT com http://www.cygnus.com/