From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7448 invoked by alias); 13 Dec 2010 18:55:56 -0000 Received: (qmail 7440 invoked by uid 22791); 13 Dec 2010 18:55:55 -0000 X-SWARE-Spam-Status: No, hits=-6.2 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; Mon, 13 Dec 2010 18:55:51 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oBDItnJG012299 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 13 Dec 2010 13:55:49 -0500 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oBDIti6O006648 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 13 Dec 2010 13:55:48 -0500 Received: from host0.dyn.jankratochvil.net (host0.dyn.jankratochvil.net [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id oBDItim8029928; Mon, 13 Dec 2010 19:55:44 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id oBDIthTS029927; Mon, 13 Dec 2010 19:55:43 +0100 Date: Mon, 13 Dec 2010 18:55:00 -0000 From: Jan Kratochvil To: Doug Evans Cc: gdb-patches@sourceware.org Subject: Re: [patch, doc RFA] New command-line option -na. Message-ID: <20101213185543.GB29492@host0.dyn.jankratochvil.net> References: <20101211004734.E48242461AD@ruffy.mtv.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101211004734.E48242461AD@ruffy.mtv.corp.google.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: 2010-12/txt/msg00195.txt.bz2 On Sat, 11 Dec 2010 01:47:34 +0100, Doug Evans wrote: > The capability exists today with "maint set python auto-load on|off", > but that can't be used to disable scripts from a program provided on > the command line. > In order to use that, one has to start gdb without a program, > disable auto-loading, and *then* use the "file" command. Bleah. I use the "file" trick commonly for example for: gdb -ex 'set debug-file-directory /tmp/foo:/usr/lib/debug' -ex 'file /bin/date' > I'm renaming "maint set python auto-load on|off" to > "set auto-load-scripts on|off". I would find this part as a sufficient one. Otherwise we should introduce a command-line option also for "debug-file-directory" and probably others. Do you find a common need for `-na'? Regards, Jan