Date: Sun, 28 Apr 1996 12:06:08 +0200 (IST) From: Eli Zaretskii To: j DOT aldrich6 AT genie DOT com Cc: djgpp AT delorie DOT com Subject: Re: Unexplained memory problem In-Reply-To: <199604272348.AA250758915@relay1.geis.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 27 Apr 1996 j DOT aldrich6 AT genie DOT com wrote: > P.S. Is there any way to redirect the output of a program to stderr without > having gdb's stderr redirected also? Typing 'gdb redir -ea ' AFAIK, gdb and the debuggee share the file descriptors (this is still single-process DOS, remember?). You will have to tweak gdb to use console I/O instead of file I/O to achieve that kind of redirection (which, btw, is something that must be done anyway IMHO, to make gdb more stable when debugging programs that redirect their standard streams).