From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6938 invoked by alias); 20 May 2010 19:03:57 -0000 Received: (qmail 6852 invoked by uid 22791); 20 May 2010 19:03:56 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 20 May 2010 19:03:51 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 4AB6C2BAC11 for ; Thu, 20 May 2010 15:03:50 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id t2wStRlOFdO1 for ; Thu, 20 May 2010 15:03:50 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 13B422BAC01 for ; Thu, 20 May 2010 15:03:50 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 44A12F58FA; Thu, 20 May 2010 12:03:47 -0700 (PDT) Date: Thu, 20 May 2010 19:15:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: Re: Add LIBDIR/gdb/python- to Python search path Message-ID: <20100520190347.GE3019@adacore.com> References: <1274380803-25266-1-git-send-email-brobecker@adacore.com> <20100520185436.GA24123@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100520185436.GA24123@caradoc.them.org> 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-05/txt/msg00439.txt.bz2 > I have a not-as-nice local patch to achieve a similar goal, so I'm in > favor. But what do you see as the role of GDB_LIBDIR, other than > this? I admit that I don't see any other uses for now. I picked libdir because that seemed to be the appropriate location after reading the GNU Coding Standards section on the various directories. I should also give credit to Tom for suggesting it first (on IRC). > GDB isn't the only program in our distribution that needs an included > Python, so we're not going to put it in lib/gdb. But it'd be nice to > have other GDB-private data outside of top-level lib/. That would argue in favor if adding an extra switch that allows you to override the python libdir. I can take care of that as part of this patch set, for sure, if this helps in your case. -- Joel