Mail Archives: djgpp/1996/04/28/20:39:51
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 <file>
<program>'
>
>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
- Raw text -