From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28723 invoked by alias); 30 Nov 2010 18:25:24 -0000 Received: (qmail 28711 invoked by uid 22791); 30 Nov 2010 18:25:23 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.44.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 30 Nov 2010 18:25:15 +0000 Received: from wpaz24.hot.corp.google.com (wpaz24.hot.corp.google.com [172.24.198.88]) by smtp-out.google.com with ESMTP id oAUIPEMP024436 for ; Tue, 30 Nov 2010 10:25:14 -0800 Received: from vws17 (vws17.prod.google.com [10.241.21.145]) by wpaz24.hot.corp.google.com with ESMTP id oAUIMHoD018655 for ; Tue, 30 Nov 2010 10:25:13 -0800 Received: by vws17 with SMTP id 17so2066145vws.16 for ; Tue, 30 Nov 2010 10:25:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.201.77 with SMTP id ez13mr1922878vcb.231.1291141512935; Tue, 30 Nov 2010 10:25:12 -0800 (PST) Received: by 10.220.203.201 with HTTP; Tue, 30 Nov 2010 10:25:12 -0800 (PST) In-Reply-To: <20101130181904.GA29738@caradoc.them.org> References: <20101129003949.502FC246199@ruffy.mtv.corp.google.com> <20101130042206.GA1206@caradoc.them.org> <20101130181904.GA29738@caradoc.them.org> Date: Tue, 30 Nov 2010 18:25:00 -0000 Message-ID: Subject: Re: [RFA] Don't install gdb.PYTHONDIR if -nx From: Doug Evans To: Doug Evans , gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true 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/msg00508.txt.bz2 On Tue, Nov 30, 2010 at 10:19 AM, Daniel Jacobowitz wrote: > 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. =A0You'd need to make sure the build / testsuite > set up something with the right layout (typical "staged install" > problem; GCC has this issue too...). Setting aside any system.gdbinit, that's already done: $obj/gdb/data-direct= ory.