From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3249 invoked by alias); 2 Sep 2010 15:43:01 -0000 Received: (qmail 3232 invoked by uid 22791); 2 Sep 2010 15:43:00 -0000 X-SWARE-Spam-Status: No, hits=-6.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Sep 2010 15:42:55 +0000 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o82FgkLI007658 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 2 Sep 2010 11:42:46 -0400 Received: from host1.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o82FghY6030847 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Sep 2010 11:42:45 -0400 Received: from host1.dyn.jankratochvil.net (localhost [127.0.0.1]) by host1.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id o82Fghr1009942; Thu, 2 Sep 2010 17:42:43 +0200 Received: (from jkratoch@localhost) by host1.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id o82FggHx009936; Thu, 2 Sep 2010 17:42:42 +0200 Date: Thu, 02 Sep 2010 16:51:00 -0000 From: Jan Kratochvil To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: ping: [patch] set logging {redirect|overwrite} warning Message-ID: <20100902154242.GA8751@host1.dyn.jankratochvil.net> References: <20100806182919.GA3654@host1.dyn.jankratochvil.net> <20100813215541.GA17278@host1.dyn.jankratochvil.net> <20100902145346.GA19965@host1.dyn.jankratochvil.net> <201009021611.21144.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201009021611.21144.pedro@codesourcery.com> User-Agent: Mutt/1.5.20 (2009-12-10) 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/msg00098.txt.bz2 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 > > > > * 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. Checked-in: http://sourceware.org/ml/gdb-cvs/2010-09/msg00020.html Thanks, Jan