This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: New stream - gdb_stdlog/gdb_stddebug?
- To: gdb@sourceware.cygnus.com
- Subject: Re: New stream - gdb_stdlog/gdb_stddebug?
- From: Andrew Cagney <ac131313@cygnus.com>
- Date: Sun, 13 Jun 1999 11:31:36 +1000
- DJ-Gateway: from newsgroup cygnus.gdb
- Newsgroups: cygnus.gdb
- Organization: Cygnus Solutions
- References: <376053FF.3050D846@cygnus.com>
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.
enjoy,
Andrew