From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5915 invoked by alias); 5 Apr 2012 16:53:38 -0000 Received: (qmail 5899 invoked by uid 22791); 5 Apr 2012 16:53:34 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,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, 05 Apr 2012 16:53:17 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q35GrCrZ030147 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 5 Apr 2012 12:53:13 -0400 Received: from host2.jankratochvil.net (ovpn-116-28.ams2.redhat.com [10.36.116.28]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q35Gr7nS020217 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 5 Apr 2012 12:53:11 -0400 Date: Thu, 05 Apr 2012 16:53:00 -0000 From: Jan Kratochvil To: Doug Evans Cc: Eli Zaretskii , gdb-patches@sourceware.org Subject: Re: [patch#2 3/6] set auto-load local-gdbinit warn-and-* Message-ID: <20120405165307.GA9213@host2.jankratochvil.net> References: <20120329091258.GD25449@host2.jankratochvil.net> <83hax61rey.fsf@gnu.org> <20120403183311.GB13483@host2.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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: 2012-04/txt/msg00073.txt.bz2 On Thu, 05 Apr 2012 18:27:51 +0200, Doug Evans wrote: > "on" reads much better to me. "on" sure reads OK but do you read OK "warn-and-on" and "warn-and-off"? > > There are two possibilities: > >  * Introduce new option some "set local-gdbinit-warning " as > >   suggested by Doug IIUC and technically keep everything boolean. > > For completeness sake, > I was suggesting making the option more general, applying to more to > more than just local-gdbinit (assuming more applications were readily > available). The warning is there duue to local-gdbinit (possible) deprecation. No other file is being deprecated. To apply it for example to use of deprecated GDB commands (and not files) I somehow find too unrelated, I do not see any need / usefulness of such warning. Thanks, Jan