From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 114327 invoked by alias); 6 Feb 2020 18:31:37 -0000 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 Received: (qmail 114319 invoked by uid 89); 6 Feb 2020 18:31:37 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy=H*r:4.82, H*r:sk:RSA_AES X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (209.51.188.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 06 Feb 2020 18:31:35 +0000 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53771) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1izlw5-00007c-RO; Thu, 06 Feb 2020 13:31:33 -0500 Received: from [176.228.60.248] (port=3544 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1izlw3-0002Z9-NQ; Thu, 06 Feb 2020 13:31:33 -0500 Date: Thu, 06 Feb 2020 18:31:00 -0000 Message-Id: <83lfpfftz8.fsf@gnu.org> From: Eli Zaretskii To: Andrew Burgess CC: gdb-patches@sourceware.org, richard.bunt@arm.com In-reply-to: <20200206164617.7461-1-andrew.burgess@embecosm.com> (message from Andrew Burgess on Thu, 6 Feb 2020 16:46:17 +0000) Subject: Re: [PATCH] gdb: Allow more control over where to find python libraries References: <20200206164617.7461-1-andrew.burgess@embecosm.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-IsSubscribed: yes X-SW-Source: 2020-02/txt/msg00141.txt.bz2 > From: Andrew Burgess > Cc: Richard Bunt , Andrew Burgess > Date: Thu, 6 Feb 2020 16:46:17 +0000 > > The motivation behind this commit is to make it easier to bundle the > Python libraries with GDB when linking GDB against a static > libpython, the Python libraries will be manually added into the GDB > installation tree, and GDB should be able to find them at run-time. > The installation tree will look like this: > > . > |-- bin/ > |-- include/ > |-- lib/ > | `-- python3.8/ > `-- share/ > > The benefit here is that the entire installation tree can be bundled > into a single archive and copied to another machine with a different > version of Python installed, and GDB will still work, including its > Python support. This assumes that the Python libraries and support files are part of the GDB distribution, right? But if those are distributed with GDB, so should be their sources, to adhere to the license, no?