From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24921 invoked by alias); 17 Jan 2012 18:35:52 -0000 Received: (qmail 24912 invoked by uid 22791); 17 Jan 2012 18:35:47 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout21.012.net.il (HELO mtaout21.012.net.il) (80.179.55.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 17 Jan 2012 18:35:33 +0000 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LXY00900G9CH200@a-mtaout21.012.net.il> for gdb-patches@sourceware.org; Tue, 17 Jan 2012 20:34:30 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.115.9]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LXY009ITGXG5RC0@a-mtaout21.012.net.il>; Tue, 17 Jan 2012 20:34:29 +0200 (IST) Date: Tue, 17 Jan 2012 18:43:00 -0000 From: Eli Zaretskii Subject: Re: [patch] New set auto-load-local-gdbinit + disable it by default In-reply-to: <20120117175957.GA9415@host2.jankratochvil.net> To: Jan Kratochvil Cc: dje@google.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83zkdm41q8.fsf@gnu.org> References: <20120117095552.GA6141@host2.jankratochvil.net> <20120117162621.GA3883@host2.jankratochvil.net> <837h0q5i4u.fsf@gnu.org> <20120117175957.GA9415@host2.jankratochvil.net> 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/msg00615.txt.bz2 > Date: Tue, 17 Jan 2012 18:59:57 +0100 > From: Jan Kratochvil > Cc: dje@google.com, gdb-patches@sourceware.org > > > 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". These projects cannot be efficiently debugged without these files. When did you last try looking at a long Lisp list with just the stock commands? It's impractical. The first thing newbies should do is learn at least some of the commands in .gdbinit, if they really want to debug Emacs. > > 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. If we are renaming the file, why make the change?