delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/06/05:47:41

From: hughw AT scoutsys DOT com (Hugh Winkler)
Subject: gdb and stdin
6 Sep 1998 05:47:41 -0700 :
Message-ID: <000001bdd910$5905d320$0c0aa8c0.cygnus.gnu-win32@harry.scoutsys.com>
Reply-To: <hughw AT scoutsys DOT com>
Mime-Version: 1.0
To: <gnu-win32 AT cygnus DOT com>

I am running a program within the (great) windowed gdb, and trying to
redirect the stdin to the program. The gdb command I use is
(gdb) run < my_in_file

I have had this working intermittently! But now the program is getting
argc=3 and no input. Has anyone seen this, or got an idea how to persuade
gdb to do the right thing?


I'm using b19.1.


Thanks,

Hugh Winkler
Scout Systems, Inc.

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019