This is the mail archive of the
mailing list for the Cygwin project.
Redirecting stdin under gdb
- From: Joe Crepeau <jcrepeau at ara dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Thu, 5 Nov 2009 22:33:40 +0000
- Subject: Redirecting stdin under gdb
I sent this out a few days ago and got no reply. Does anybody have a response to this?
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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple