From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28703 invoked by alias); 17 Jan 2012 16:22:44 -0000 Received: (qmail 28682 invoked by uid 22791); 17 Jan 2012 16:22:41 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-yx0-f169.google.com (HELO mail-yx0-f169.google.com) (209.85.213.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 17 Jan 2012 16:22:28 +0000 Received: by yenm10 with SMTP id m10so1932259yen.0 for ; Tue, 17 Jan 2012 08:22:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.236.181.168 with SMTP id l28mr25436634yhm.53.1326817347797; Tue, 17 Jan 2012 08:22:27 -0800 (PST) Received: by 10.236.23.169 with HTTP; Tue, 17 Jan 2012 08:22:27 -0800 (PST) In-Reply-To: <20120117095552.GA6141@host2.jankratochvil.net> References: <20120117095552.GA6141@host2.jankratochvil.net> Date: Tue, 17 Jan 2012 16:26:00 -0000 Message-ID: Subject: Re: [patch] New set auto-load-local-gdbinit + disable it by default From: Matt Rice To: Jan Kratochvil Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/msg00600.txt.bz2 On Tue, Jan 17, 2012 at 1:55 AM, Jan Kratochvil wrote: > Still at least the setting should go in and then one can then have > "set auto-load-local-gdbinit off" at least in ~/.gdbinit. =A0 Anyway I wo= uld > file a FESCo (Fedora Engineering Steering Committee) ticket for such "off= " in > /etc/gdbinit at least in distro and IMHO it needs to get approved (but ma= ybe > not, it would be another fork from upstream). I'm of the opinion it should just be nuked outright, and people who want the old behaviour should add something to the effect of the following to their ~/.gdbinit, I fear a on/off is just going to lead to different behaviours across distros, (and still i wish the cwd/.gdbinit wasn't hidden/too late for that.) py if os.getcwd() !=3D os.environ['HOME']: gdb.execute("source .gdbinit") end