From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20571 invoked by alias); 17 Jan 2012 18:00:28 -0000 Received: (qmail 20552 invoked by uid 22791); 17 Jan 2012 18:00:27 -0000 X-SWARE-Spam-Status: No, hits=-6.6 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; Tue, 17 Jan 2012 18:00:07 +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 q0HI014q008825 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 17 Jan 2012 13:00:05 -0500 Received: from host2.jankratochvil.net (ovpn-116-21.ams2.redhat.com [10.36.116.21]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q0HHxvro010193 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 17 Jan 2012 13:00:00 -0500 Date: Tue, 17 Jan 2012 18:28:00 -0000 From: Jan Kratochvil To: Eli Zaretskii Cc: dje@google.com, gdb-patches@sourceware.org Subject: Re: [patch] New set auto-load-local-gdbinit + disable it by default Message-ID: <20120117175957.GA9415@host2.jankratochvil.net> References: <20120117095552.GA6141@host2.jankratochvil.net> <20120117162621.GA3883@host2.jankratochvil.net> <837h0q5i4u.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <837h0q5i4u.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-01/txt/msg00611.txt.bz2 On Tue, 17 Jan 2012 18:54:57 +0100, Eli Zaretskii wrote: > ??? How's the .gdbinit file that comes with Emacs "malicious"? If one runs "gdb" one expects to get "gdb". If one runs "gdb" in any of these directories (Emacs) one surprisingly gets some weirdly behaving beast instead. > I find it indispensable, including during the past 2.5 years, when I needed > some heavy debugging of the Emacs display engine. The problem is if one gets used to those .gdbinit files then sure those files are great. I do not think projects should be accessible only to their longterm developers. The longterm developers always can do some "gdb -x foo". > If that's really so (and I don't think I agree), then we should simply > stop distributing that file, not under the name .gdbinit anyway. > > But using these use-cases, even if all of them indeed suffer from bad > .gdbinit files, to deprive users of having helpful init files in the > source tree is really excessive, IMO. I agree if this change gets in then src/gdb/.gdbinit should be renamed to something else. For example src/gdb/gdbinit. Thanks, Jan