This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Redirecting stdin under gdb



> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
> Of Christopher Faylor
> Sent: Thursday, November 05, 2009 6:29 PM
> To: cygwin@cygwin.com
> Subject: Re: Redirecting stdin under gdb
> 
> On Fri, Nov 06, 2009 at 01:00:13AM +0000, Dave Korn wrote:
> >Joe Crepeau wrote:
> >>I sent this out a few days ago and got no reply.  Does anybody have a
> >>response to this?
> >
> >It's never worked for me either, and now thanks to you I know exactly
> >why, but I don't have any answer(*).  Sorry.
> 
> I somehow missed the original message.
> 
> The problem has not been fixed.  It is exactly what was mentioned.  I do
> have the beginnings of a fix in gdb already.

That's good news.  Do you have an estimate for when this will be finished?  Is there a work-around in the meantime?

Below is the original message.

*****************************************************
Has the problem with redirecting stdin under gdb been fixed? The most recent posting I can find is from 1999 and it was a known problem then.

The problem is when you start up gdb and then type the following:

run < input

where "input" is an input file located in the current directory.  gdb just sits there, apparently waiting for input.

According to the posting in 1999, the problem is because the "cmd arg parser in win32/gdb doesn't look for redirection symbols."

If there is no fix, is there a work-around so that I can use gdb in cygwin?
*****************************************************


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]