Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Sender: stefano AT ilc DOT pi DOT cnr DOT it Message-ID: <371DE8D2.7AE94AA2@ilc.pi.cnr.it> Date: Wed, 21 Apr 1999 17:03:46 +0200 From: Stefano Federici Organization: ILC-CNR, Pisa, Italy X-Mailer: Mozilla 4.04 [en] (X11; I; SunOS 5.6 sun4u) MIME-Version: 1.0 To: cygwin AT sourceware DOT cygnus DOT com Subject: STDIN redirection under GDB Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I found a similar question in a letter to the list on 1995, but I did not find any answer. I'm having problems using GDB with a program that uses standard-input. I uses gdb 4.17.1 delivered with cygwinb20.1 (I also installed egcs.1.1.2, but I don't know if it can influence in any way this behaviour). All is well when running (other) programs that do not use stdin. I use this form of the run command: run < input Where 'input' is my input file, in the current directory. GDB just sits there, forever. I can only break the loop by typing CTRL-C and obtain the debugger prompt. I also tried to use the argument setting options: set args < input but the result is exactly the same. Has anyone seen this type of behavior? Can it depend on the binary/text mode of cygwin? Thank you in advance Stefano Federici -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com