From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3634 invoked by alias); 5 Apr 2012 21:00:56 -0000 Received: (qmail 3624 invoked by uid 22791); 5 Apr 2012 21:00:55 -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 21:00:37 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q35L0SHf023987 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 5 Apr 2012 17:00:32 -0400 Received: from host2.jankratochvil.net (ovpn-116-28.ams2.redhat.com [10.36.116.28]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q35L0PDl021829 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 5 Apr 2012 17:00:27 -0400 Date: Thu, 05 Apr 2012 21:00:00 -0000 From: Jan Kratochvil To: Eli Zaretskii Cc: gdb-patches@sourceware.org Subject: Re: [patch#2 3/6] set auto-load local-gdbinit warn-and-* Message-ID: <20120405210024.GA31493@host2.jankratochvil.net> References: <20120329091258.GD25449@host2.jankratochvil.net> <83hax61rey.fsf@gnu.org> <20120403183311.GB13483@host2.jankratochvil.net> <83ty0yb1fc.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83ty0yb1fc.fsf@gnu.org> 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/msg00084.txt.bz2 On Thu, 05 Apr 2012 18:15:03 +0200, Eli Zaretskii wrote: > But this hunk changes "on" into "yes", which is not what you seem to > say will happen. Did I understand correctly that GDB will print "on"? + > Whatever we do, I think these options should behave consistently. I see there are continuous issues with the enum overload of 'set auto-load local-gdbinit', therefore created a new boolean 'set auto-load local-gdbinit-warning' instead. In fact one can find it easily as it is printed during 'set auto-load local-gdbinit' which was the original goal of the enum overload. Thanks, Jan