X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org From: Joe Crepeau To: "cygwin AT cygwin DOT com" Date: Fri, 6 Nov 2009 15:40:26 +0000 Subject: RE: Redirecting stdin under gdb Message-ID: References: <4AF3751D DOT 40504 AT gmail DOT com> <20091106012852 DOT GA3478 AT ednor DOT casa DOT cgf DOT cx> In-Reply-To: <20091106012852.GA3478@ednor.casa.cgf.cx> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-ARA-Msg-ID: nA6FeTHE061059 X-ARA-Bounce-Result: NO X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com > -----Original Message----- > From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf > Of Christopher Faylor > Sent: Thursday, November 05, 2009 6:29 PM > To: cygwin AT cygwin DOT com > Subject: Re: Redirecting stdin under gdb >=20 > 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. >=20 > I somehow missed the original message. >=20 > 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 recen= t 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 parse= r 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