This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: ping: [patch] set logging {redirect|overwrite} warning
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Cc: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Date: Thu, 2 Sep 2010 16:11:20 +0100
- Subject: Re: ping: [patch] set logging {redirect|overwrite} warning
- References: <20100806182919.GA3654@host1.dyn.jankratochvil.net> <20100813215541.GA17278@host1.dyn.jankratochvil.net> <20100902145346.GA19965@host1.dyn.jankratochvil.net>
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