This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: BUG in cygwin's implementation of GDB?
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 17 Oct 2002 12:27:01 -0400
- Subject: Re: BUG in cygwin's implementation of GDB?
- References: <200210170928.g9H9SWX24404@mailgate5.cinetic.de>
- Reply-to: cygwin at cygwin dot com
On Thu, Oct 17, 2002 at 11:28:32AM +0200, Thomas Mellman wrote:
>I think I've encountered a bug in GDB.
>
>Although "help run" says the following:
>
>> (gdb) help run
>> Start debugged program. You may specify arguments to give it.
>> Args may include "*", or "[...]"; they are expanded using "sh".
>> Input and output redirection with ">", "<", or ">>" are also allowed.
>
>if you say:
>
> (gdb) r < eg/10.gtl
>
>then the following is true:
>
> argv[1] = '<'
> argv[2] = 'eg/10.gtl'
>
>and naturally, stdin is ... well, stdin.
>
>This is not the behaviour on my linux system at home and is - AFAICT - wrong.
stdio redirection is not currently implemented in gdb.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/