From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15472 invoked by alias); 24 Aug 2012 15:28:36 -0000 Received: (qmail 15462 invoked by uid 22791); 24 Aug 2012 15:28:36 -0000 X-SWARE-Spam-Status: No, hits=-7.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS 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; Fri, 24 Aug 2012 15:28:23 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q7OFSKDS024460 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 24 Aug 2012 11:28:20 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q7OFSITE013589; Fri, 24 Aug 2012 11:28:19 -0400 Message-ID: <50379D92.8070705@redhat.com> Date: Fri, 24 Aug 2012 15:28:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: Eli Zaretskii CC: jan.kratochvil@redhat.com, gdb-patches@sourceware.org, dje@google.com Subject: Re: [patch+7.5] auto-load: User conveniences suggested by Doug Evans References: <20120821144355.GA28426@host2.jankratochvil.net> <5034FED3.9040809@redhat.com> <83boi0gvwx.fsf@gnu.org> In-Reply-To: <83boi0gvwx.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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-08/txt/msg00730.txt.bz2 On 08/24/2012 04:19 PM, Eli Zaretskii wrote: >> Date: Wed, 22 Aug 2012 16:46:27 +0100 >> From: Pedro Alves >> CC: gdb-patches@sourceware.org, Doug Evans >> >> On 08/21/2012 03:43 PM, Jan Kratochvil wrote: >>> +add \"set auto-load safe-path /\" line to \"%s\".\n\ >>> +For more information about this security protection run from the shell: \ >>> +info \"(gdb)Auto-loading safe path\"\n"), >>> + filename_real, homeinit, homeinit); >> >> This may be cryptic, for instance, for Windows users who won't >> have 'info' available in the shell. > > Why wouldn't they? A Windows port is available. I mean "won't usually have" -- because they haven't installed it. For instance, I believe people that use Windows hosted toolchains from CodeSourcery or AdaCore won't usually have info installed, and won't ever bother to install it. My point is that the meat of the information here is the pointing at a section in the manual, not some specific way to get at it. > >> How about something like: >> >> For more information about this security protection see the >> "Auto-loading safe path" section in the GDB manual. >> >> ? > > If they don't have 'info', how will they read the manual? Either online; a local html version that is installed along the toolchain (common, and some vendors integrate this with the frontend like, e.g., Eclipse); or a local pdf version (also common). -- Pedro Alves