This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: New stream - gdb_stdlog/gdb_stddebug?


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]