From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24521 invoked by alias); 30 Nov 2010 18:19:18 -0000 Received: (qmail 24506 invoked by uid 22791); 30 Nov 2010 18:19:17 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 30 Nov 2010 18:19:13 +0000 Received: (qmail 24200 invoked from network); 30 Nov 2010 18:19:11 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 30 Nov 2010 18:19:11 -0000 Date: Tue, 30 Nov 2010 18:19:00 -0000 From: Daniel Jacobowitz To: Doug Evans Cc: gdb-patches@sourceware.org Subject: Re: [RFA] Don't install gdb.PYTHONDIR if -nx Message-ID: <20101130181904.GA29738@caradoc.them.org> Mail-Followup-To: Doug Evans , gdb-patches@sourceware.org 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: User-Agent: Mutt/1.5.20 (2009-06-14) 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/msg00506.txt.bz2 On Mon, Nov 29, 2010 at 09:16:33PM -0800, Doug Evans wrote: > On Mon, Nov 29, 2010 at 8:22 PM, Daniel Jacobowitz wrote: > > Why not an option to set gdb.PYTHONDIR > > before loading anything? > > Or rather an option to set data-directory? > [It might be tempting to do -x "set data-dir mumble" but -x is > processed too late for .gdbinit.] That would work for me. You'd need to make sure the build / testsuite set up something with the right layout (typical "staged install" problem; GCC has this issue too...). -- Daniel Jacobowitz CodeSourcery