X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 	tests=BAYES_00
X-Spam-Check-By: sourceware.org
From: Joe Crepeau <jcrepeau@ara.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Date: Thu, 5 Nov 2009 22:33:40 +0000
Subject: Redirecting stdin under gdb
Message-ID: <DF663D521726C040BBEE8968C313B40F4E90A40B04@MAIL-WEST.exchange2.ara.wan>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-ARA-Msg-ID: nA5MXhKj042219
X-ARA-Bounce-Result: NO
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hi,

	I sent this out a few days ago and got no reply.  Does anybody have a resp=
onse to this?


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?

Thanks,
Joe


--
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

