This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: ping: [patch] set logging {redirect|overwrite} warning


On Thu, 02 Sep 2010 17:11:20 +0200, Pedro Alves wrote:
> On Thursday 02 September 2010 15:53:46, Jan Kratochvil wrote:
> > No regressions on {x86_64,x86_64-m32,i686}-fedora14snapshot-linux-gnu.
> > 
> > OK to check-in?
> 
> Okay, thanks.
> 
> > 2010-08-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
> > 
> > 	* cli-logging.c: Include gdb_assert.h.
> > 	(set_logging_overwrite): New function.
> > 	(logging_redirect): New comment.
> > 	(logging_no_redirect_file, set_logging_redirect)
> > 	(pop_output_files) <logging_no_redirect_file>: New.
> > 	(handle_redirections) <!logging_redirect>: New variable
> > 	no_redirect_file.  Remove file autoclose for tee_file_new.  No longer
> > 	discard cleanup for the close of former OUTPUT.  Set
> > 	LOGGING_NO_REDIRECT_FILE.
> > 	(handle_redirections) <logging_redirect>: gdb_assert
> > 	LOGGING_NO_REDIRECT_FILE.
> > 	(show_logging_command) <logging_redirect handling>: Adjust messages
> > 	for SAVED_FILENAME not NULL.
> > 	(_initialize_cli_logging): Install set_logging_overwrite and
> > 	set_logging_redirect.

Checked-in:
	http://sourceware.org/ml/gdb-cvs/2010-09/msg00020.html


Thanks,
Jan


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