delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/17/12:25:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 17 Oct 2002 12:27:01 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: BUG in cygwin's implementation of GDB?
Message-ID: <20021017162701.GC30732@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <200210170928 DOT g9H9SWX24404 AT mailgate5 DOT cinetic DOT de>
Mime-Version: 1.0
In-Reply-To: <200210170928.g9H9SWX24404@mailgate5.cinetic.de>
User-Agent: Mutt/1.4i

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019