From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15521 invoked by alias); 2 Sep 2010 15:11:45 -0000 Received: (qmail 15493 invoked by uid 22791); 2 Sep 2010 15:11:42 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Sep 2010 15:11:25 +0000 Received: (qmail 19638 invoked from network); 2 Sep 2010 15:11:23 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 2 Sep 2010 15:11:23 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: ping: [patch] set logging {redirect|overwrite} warning Date: Thu, 02 Sep 2010 15:36:00 -0000 User-Agent: KMail/1.13.2 (Linux/2.6.33-29-realtime; KDE/4.4.2; x86_64; ; ) Cc: Jan Kratochvil References: <20100806182919.GA3654@host1.dyn.jankratochvil.net> <20100813215541.GA17278@host1.dyn.jankratochvil.net> <20100902145346.GA19965@host1.dyn.jankratochvil.net> In-Reply-To: <20100902145346.GA19965@host1.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201009021611.21144.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-09/txt/msg00092.txt.bz2 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 > > * 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) : New. > (handle_redirections) : 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) : gdb_assert > LOGGING_NO_REDIRECT_FILE. > (show_logging_command) : Adjust messages > for SAVED_FILENAME not NULL. > (_initialize_cli_logging): Install set_logging_overwrite and > set_logging_redirect. -- Pedro Alves