From: j DOT aldrich6 AT genie DOT com Message-Id: <199604290017.AA083617061@relay1.geis.com> Date: Mon, 29 Apr 96 00:09:00 UTC 0000 To: djgpp AT delorie DOT com Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Subject: Re: Unexplained memory problem Reply to message 3711211 from ELIZ AT IS DOT ELTA. on 04/28/96 6:06AM >> 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). Yeah, I know. I can hope, can't I? :) How precisely would I go about 'tweaking' gdb? I'm not real familiar with its internal commands, and I'd like to avoid having to recompile it unless necessary (disk space is a major problem for me). BTW, any hints on the watchpoint problem? John