From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4839 invoked by alias); 20 Feb 2020 17:00:01 -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 4830 invoked by uid 89); 20 Feb 2020 17:00:00 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-10.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 20 Feb 2020 16:59:59 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id EC77A56099; Thu, 20 Feb 2020 11:59:57 -0500 (EST) 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 fBUbO7P8e2Xv; Thu, 20 Feb 2020 11:59:57 -0500 (EST) Received: from murgatroyd (75-166-123-50.hlrn.qwest.net [75.166.123.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by rock.gnat.com (Postfix) with ESMTPSA id 925BA56098; Thu, 20 Feb 2020 11:59:57 -0500 (EST) From: Tom Tromey To: Andrew Burgess Cc: gdb-patches@sourceware.org Subject: Re: [PATCHv2] gdb: Allow more control over where to find python libraries References: <20200206164617.7461-1-andrew.burgess@embecosm.com> <20200219162703.17530-1-andrew.burgess@embecosm.com> Date: Thu, 20 Feb 2020 17:00:00 -0000 In-Reply-To: <20200219162703.17530-1-andrew.burgess@embecosm.com> (Andrew Burgess's message of "Wed, 19 Feb 2020 16:27:03 +0000") Message-ID: <878skxnqib.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2020-02/txt/msg00830.txt.bz2 >>>>> "Andrew" == Andrew Burgess writes: Andrew> The only change since v1 is rewording of the commit message to make Andrew> the aim of the patch clearer. FWIW, we have a similar situation; one additional thing we do is arrange to call Py_SetPythonHome to ensure that the user's PYTHONPATH doesn't break gdb. It would be good if the standard gdb did this (I think someone filed something like this in bugzilla), but I'm not sure it can be done in a way that's consistent with gdb's other goals, like relocatability. Tom