From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1534 invoked by alias); 24 Aug 2012 15:43:59 -0000 Received: (qmail 1512 invoked by uid 22791); 24 Aug 2012 15:43:57 -0000 X-SWARE-Spam-Status: No, hits=-6.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,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:43:44 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q7OFhgFH002091 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 24 Aug 2012 11:43:42 -0400 Received: from host2.jankratochvil.net (ovpn-116-37.ams2.redhat.com [10.36.116.37]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q7OFhbee017047 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 24 Aug 2012 11:43:40 -0400 Date: Fri, 24 Aug 2012 15:43:00 -0000 From: Jan Kratochvil To: Pedro Alves Cc: gdb-patches@sourceware.org, Eli Zaretskii , dje@google.com Subject: Re: [patch+7.5] auto-load: User conveniences suggested by Doug Evans Message-ID: <20120824154325.GB7200@host2.jankratochvil.net> References: <20120821144355.GA28426@host2.jankratochvil.net> <5034FED3.9040809@redhat.com> <83boi0gvwx.fsf@gnu.org> <50379D92.8070705@redhat.com> <50379E50.6090602@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50379E50.6090602@redhat.com> 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-08/txt/msg00733.txt.bz2 On Fri, 24 Aug 2012 17:31:28 +0200, Pedro Alves wrote: > ... and I'd be happy if we combined Jan's and my suggestions. Something like: > > For more information about this security protection see the > "Auto-loading safe path" section in the GDB manual. > For example, run from the shell: > info \"(gdb)Auto-loading safe path\ > > Would that work? In fact I find this a distribution specific part, which current FSF GDB does not address and it may never should be. What about printing in FSF GDB: For more information about this security protection see the "Auto-loading safe path" section in the GDB manual. And in Fedora GDB to patch it for: For example, run from the shell: info "(gdb)Auto-loading safe path" As Fedora could also address the common problem of uninstalled gdb-doc and therefore depending on 'rpm -q gdb-doc' exit code Fedora could print: For example, run from the shell: yum -y install gdb-doc; info "(gdb)Auto-loading safe path" Sure Fedora is unrelated to this gdb-patches list, just giving the picture how distro specific parts can be useful and at the same time very unrelated to FSF GDB. Thanks, Jan