New stream - gdb_stdlog/gdb_stddebug?

Andrew Cagney
Sat Jun 12 18:45:00 GMT 1999

Andrew Cagney wrote:
> Hello,
> At present GDB has two output streams:
>         gdb_stdout
>         gdb_stderr
> I'd like to propose the addition of a third stream:
>         gdb_stdlog OR gdb_stddebug
> that would be used by any debug/log messages.

For the moment I've called it ``gdb_stdlog'' and added it to main.c  At
the same time I've updated (fixed I would argue :-) remote.c and
gdbarch.c so that they send their trace/log messages to gdb_stdlog and
not gdb_stdout.

By default gdb_stdlog ends up in gdb_stdout so the TUI and normal users
won't notice any difference.


More information about the Gdb mailing list