From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17348 invoked by alias); 5 Apr 2012 21:33:03 -0000 Received: (qmail 17335 invoked by uid 22791); 5 Apr 2012 21:33:02 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,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; Thu, 05 Apr 2012 21:32:47 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q35LWhhK005201 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 5 Apr 2012 17:32:43 -0400 Received: from host2.jankratochvil.net (ovpn-116-28.ams2.redhat.com [10.36.116.28]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q35LWdj7012193 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 5 Apr 2012 17:32:42 -0400 Date: Thu, 05 Apr 2012 21:33:00 -0000 From: Jan Kratochvil To: Eli Zaretskii Cc: gdb-patches@sourceware.org Subject: Re: [patch#2 2/6] set auto-load * main part Message-ID: <20120405213239.GA15790@host2.jankratochvil.net> References: <20120329091121.GC25449@host2.jankratochvil.net> <83iphm1rq1.fsf@gnu.org> <20120403183301.GA13483@host2.jankratochvil.net> <83vcleb1lb.fsf@gnu.org> <20120405182504.GA13165@host2.jankratochvil.net> <83mx6pc1up.fsf@gnu.org> <83k41tc1iy.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83k41tc1iy.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-04/txt/msg00096.txt.bz2 On Thu, 05 Apr 2012 23:27:33 +0200, Eli Zaretskii wrote: > > Date: Fri, 06 Apr 2012 00:20:30 +0300 > > From: Eli Zaretskii > > Cc: gdb-patches@sourceware.org > > > > Ah, I see I missed the other interpretation of "also". So here's a > > revised suggestion: > > > > Be aware that system init file (@pxref{System-wide configuration}) > > and init files from your home directory (@pxref{Home Directory Init File}) > > still get read (as they come from generally trusted (as they come from > > generally trusted directories). To prevent @value{GDBN} from auto-loading > > even those init files, use the @option{-nx} option (@pxref{Mode Options}), > > in addition to @code{set auto-load no}. > > Err... make that > > Be aware that system init file (@pxref{System-wide configuration}) > and init files from your home directory (@pxref{Home Directory Init File}) > still get read (as they come from generally trusted directories). To > prevent @value{GDBN} from auto-loading even those init files, use the > @option{-nx} option (@pxref{Mode Options}), in addition to > @code{set auto-load no}. I have noticed... I used that. Thanks, Jan