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: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 2 Sep 2010 17:42:42 +0200
- 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> <201009021611.21144.pedro@codesourcery.com>
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