From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21406 invoked by alias); 17 Jan 2012 19:54:53 -0000 Received: (qmail 21397 invoked by uid 22791); 17 Jan 2012 19:54:52 -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 19:54:36 +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 q0HJsZ3U023413 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 17 Jan 2012 14:54:35 -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 q0HJsYFN010186; Tue, 17 Jan 2012 14:54:34 -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 q0HJsWTv018493; Tue, 17 Jan 2012 14:54:33 -0500 From: Tom Tromey To: Doug Evans Cc: Jan Kratochvil , 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> <20120117165640.GB5344@host2.jankratochvil.net> <20120117174839.GA8459@host2.jankratochvil.net> Date: Tue, 17 Jan 2012 19:55:00 -0000 In-Reply-To: (Doug Evans's message of "Tue, 17 Jan 2012 10:29:04 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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/msg00632.txt.bz2 Jan> similiar to the extra VM. =C2=A0I plan to just merge the paragraph abo= ve Jan> into some user-accessible command-line option "-safe". =C2=A0I am just Jan> not sure how to load pretty printers from system libraries which Jan> are safe but which do not get loaded after "set auto-load-scripts Jan> off". Doug> Are we sure we want to claim to the user community -safe is, umm, saf= e? Doug> It seems like we're a fair ways from being ready to claim it, setting Doug> aside auto-loading. It seems to me that having the option would give us some impetus toward fixing the problems, if we can actually make them occur; and furthermore the option gives us a framework in which to fix all such problems, namely, check the flag. Tom