This is the mail archive of the
cygwin
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: Fri, 30 Oct 2009 21:17:07 +0000
- Subject: Redirecting stdin under gdb
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?
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