From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2597 invoked by alias); 17 Jan 2012 20:28:50 -0000 Received: (qmail 2584 invoked by uid 22791); 17 Jan 2012 20:28:47 -0000 X-SWARE-Spam-Status: No, hits=-7.0 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 20:28:35 +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 q0HKSWqf001163 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 17 Jan 2012 15:28:32 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q0HKSWxU019282; Tue, 17 Jan 2012 15:28:32 -0500 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id q0HKSUxX024476; Tue, 17 Jan 2012 15:28:30 -0500 From: Tom Tromey To: Jan Kratochvil Cc: Eli Zaretskii , dje@google.com, gdb-patches@sourceware.org Subject: Re: [patch] New set auto-load-local-gdbinit + disable it by default References: <20120117095552.GA6141@host2.jankratochvil.net> <20120117162621.GA3883@host2.jankratochvil.net> <837h0q5i4u.fsf@gnu.org> <20120117175957.GA9415@host2.jankratochvil.net> Date: Tue, 17 Jan 2012 20:29:00 -0000 In-Reply-To: <20120117175957.GA9415@host2.jankratochvil.net> (Jan Kratochvil's message of "Tue, 17 Jan 2012 18:59:57 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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/msg00644.txt.bz2 >>>>> "Jan" == Jan Kratochvil writes: Jan> On Tue, 17 Jan 2012 18:54:57 +0100, Eli Zaretskii wrote: >> ??? How's the .gdbinit file that comes with Emacs "malicious"? Jan> If one runs "gdb" one expects to get "gdb". Jan> If one runs "gdb" in any of these directories (Emacs) one surprisingly gets Jan> some weirdly behaving beast instead. I'm not convinced by this line of argument. I think gdb has touted this -- rightly -- as a feature. And, if anything, I think we've gone even more in this direction in recent years, what with pretty-printers and Python auto-loading. Furthermore, I think this is a good trend in general; applications are getting more complex, and this provides an important way to adapt the debugger to them. That said, I agree with your conclusions for other reasons. Tom