From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1270 invoked by alias); 5 Apr 2012 18:25:32 -0000 Received: (qmail 1260 invoked by uid 22791); 5 Apr 2012 18:25:31 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,TW_BJ,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 18:25:10 +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 q35IP8KF018022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 5 Apr 2012 14:25:08 -0400 Received: from host2.jankratochvil.net (ovpn-116-28.ams2.redhat.com [10.36.116.28]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q35IP4Li001332 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 5 Apr 2012 14:25:07 -0400 Date: Thu, 05 Apr 2012 18:25: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: <20120405182504.GA13165@host2.jankratochvil.net> References: <20120329091121.GC25449@host2.jankratochvil.net> <83iphm1rq1.fsf@gnu.org> <20120403183301.GA13483@host2.jankratochvil.net> <83vcleb1lb.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83vcleb1lb.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/msg00077.txt.bz2 On Thu, 05 Apr 2012 18:11:28 +0200, Eli Zaretskii wrote: > > @cindex Python auto-loading, Python > > Do we really need "Python" twice? Therefore used: @node Python Auto-loading @subsection Python Auto-loading @cindex Python auto-loading > > # 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 still get read (as they come from generally trusted > > # directories). You could use also the @ref{-nx} option to prevent @value{GDBN} > > # from reading any auto-loaded files instead. > > > > IMO says that -nx will disable even objfile-gdb.py, libthread_db.so.1 etc. > > auto-loading. Or at least it is ambiguous in such way. > > Point taken, but then what _did_ you mean by "very every"? I wanted to say that if you want to prevent loading any kind of file then you have to use both -nx and "set auto-load no". IMHO the current paragraph says that if I use -nx then no kind of file gets loaded. That is not true. Thanks, Jan