From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 627 invoked by alias); 25 Jun 2014 15:29:47 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 616 invoked by uid 89); 25 Jun 2014 15:29:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-lb0-f182.google.com Received: from mail-lb0-f182.google.com (HELO mail-lb0-f182.google.com) (209.85.217.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 25 Jun 2014 15:29:45 +0000 Received: by mail-lb0-f182.google.com with SMTP id c11so1925599lbj.41 for ; Wed, 25 Jun 2014 08:29:42 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.152.87.80 with SMTP id v16mr2175907laz.77.1403710181805; Wed, 25 Jun 2014 08:29:41 -0700 (PDT) Received: by 10.112.0.201 with HTTP; Wed, 25 Jun 2014 08:29:41 -0700 (PDT) In-Reply-To: <20140625151701.GJ5253@adacore.com> References: <56168225.tkKpPXRO26@dabox> <214EDCB8-BEE1-4E6D-801E-D57B46AD7424@dell.com> <20140625143657.GI5253@adacore.com> <20140625151701.GJ5253@adacore.com> Date: Wed, 25 Jun 2014 15:29:00 -0000 Message-ID: Subject: Re: Is it possible to statically link python into gdb? From: Hector Oron To: Joel Brobecker Cc: Terry Guo , Paul_Koning@dell.com, tim@krieglstein.org, gdb@sourceware.org, Antonio Cavallo Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2014-06/txt/msg00083.txt.bz2 Hello, 2014-06-25 17:17 GMT+02:00 Joel Brobecker : >> Wouldn't it be better if python was loaded as external plugin, that >> way user/admin can pick up which python version they want to use along >> GDB. > > The answer to that question depends on what your constraints are. I tried to explain my constraints in second paragraph, as I got users wanting to use python2 and other python3 with gdb. Do you know if FSF GDB provides the infrastructure or interfaces to be able to load python as plugin? Regards --=20 H=C3=A9ctor Or=C3=B3n -.. . -... .. .- -. -.. . ...- . .-.. --- .--. . = .-.