Date: Thu, 17 Oct 1996 17:05:46 +0200 (IST) From: Eli Zaretskii To: Gautier Cc: djgpp AT delorie DOT com Subject: Re: Q: GDB (debugger) and redirection In-Reply-To: <1996Oct17.122054.5283@news> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 17 Oct 1996, Gautier wrote: > 1: redirect output to a file when using the gdb debugger; > 2: redirect output again to standard output when launching the > program to debug I would say no. In general, redirecting files don't mix well with GDB, since GDB and the debugged program share file handles. For example, if the debugged program closes stdin, you will be unable to talk to GDB after that.