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


Sorry, I thought I had already replied to this, but apparently I
dreamt it only.

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.

-- 
Pedro Alves


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