Proposal to remove Python 2 support

vincent Dupaquis v.dupaquis@trusted-objects.com
Fri Sep 18 07:15:35 GMT 2020


Some vendors are still delivering gdb with python2 by default, for
instance ARM in their arm-none-eabi delivery
(https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads).

Le 17/09/2020 à 20:45, Eli Zaretskii a écrit :
>> Date: Thu, 17 Sep 2020 20:10:05 +0200
>> From: Jan Kratochvil <jan.kratochvil@redhat.com>
>> Cc: Joel Brobecker <brobecker@adacore.com>, paulkoning@comcast.net,
>> 	tom@tromey.com, gdb@sourceware.org
>>
>> On Thu, 17 Sep 2020 20:03:02 +0200, Eli Zaretskii wrote:
>>> But that kind of thing is inevitable when one relies on external
>>> libraries for some of our features.  For example, suppose that the
>>> source-highlight package learns to highlight sources better -- these
>>> improvements will only available to users if they upgrade their
>>> installed source-highlight library before building GDB.
>> That is different.
>>
>> There will always be installed only one version of source-highlight package.
>>
>> With Python there can be (and currently commonly is) installed both Python
>> 2 & 3 and it is sometimes tricky to convince a package to use the other
>> version than the one it uses by default.
> Sorry, I don't think I understand how what you say is relevant to what
> I wrote.
>
> What I tried to convey is that having some features in GDB that only
> work if you build GDB with Python 3 is not an acute problem.
-- 

*Vincent Dupaquis*
Software security & Cryptography expert
06 24 58 17 05
/Europarc de Pichaury Bâtiment B8 1330 rue Guillibert de la Lauzière
13290 Aix-en-Provence/

www.trusted-objects.com <http://www.trusted-objects.com>


More information about the Gdb mailing list