From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10802 invoked by alias); 30 Nov 2010 05:33:16 -0000 Received: (qmail 10794 invoked by uid 22791); 30 Nov 2010 05:33:14 -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; Tue, 30 Nov 2010 05:33:08 +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.13.8/8.13.8) with ESMTP id oAU5X6cd003207 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 30 Nov 2010 00:33:06 -0500 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oAU5X2eW015539 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 30 Nov 2010 00:33:05 -0500 Received: from host0.dyn.jankratochvil.net (localhost.localdomain [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id oAU5X056000814; Tue, 30 Nov 2010 06:33:01 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id oAU5WwTE000804; Tue, 30 Nov 2010 06:32:58 +0100 Date: Tue, 30 Nov 2010 05:33:00 -0000 From: Jan Kratochvil To: gdb-patches@sourceware.org Cc: Doug Evans Subject: Re: [RFA] Don't install gdb.PYTHONDIR if -nx Message-ID: <20101130053257.GA554@host0.dyn.jankratochvil.net> References: <20101129003949.502FC246199@ruffy.mtv.corp.google.com> <20101130042206.GA1206@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101130042206.GA1206@caradoc.them.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: 2010-11/txt/msg00497.txt.bz2 On Tue, 30 Nov 2010 05:22:09 +0100, Daniel Jacobowitz wrote: > If this is the problem you're trying to solve, I think a new option is > better - but it's not -np. Why not an option to set gdb.PYTHONDIR > before loading anything? The -np could also delay the Python initialization. This would never initialize Python for non-gdb.python/ testcases, saving some cycles. But that is not implemented there by this patch and it is questiontable if it is worth coding with all the testsuite overhead. Thanks, Jan