[binutils-gdb] gdb: announce upcoming removal of Python 2 support from gdb

Andrew Burgess aburgess@sourceware.org
Tue Mar 8 13:45:01 GMT 2022


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=807310c5c7e2585a6a8eaaebd376077d1ccb86e2

commit 807310c5c7e2585a6a8eaaebd376077d1ccb86e2
Author: Andrew Burgess <aburgess@redhat.com>
Date:   Tue Mar 8 13:42:16 2022 +0000

    gdb: announce upcoming removal of Python 2 support from gdb
    
    As has been discussed here:
    
      https://sourceware.org/pipermail/gdb-patches/2022-January/184910.html
    
    Python 2 support will be removed from GDB after GDB 12 has branched.
    This commit places an entry in the NEWS file to inform users of this
    decision.

Diff:
---
 gdb/NEWS | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gdb/NEWS b/gdb/NEWS
index cf1e084fed6..4d282cb37dd 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -5,6 +5,10 @@
 
 * DBX mode is deprecated, and will be removed in GDB 13
 
+* GDB 12 is the last release of GDB that will support building against
+  Python 2.  From GDB 13, it will only be possible to build GDB itself
+  with Python 3 support.
+
 * Improved C++ template support
 
   GDB now treats functions/types involving C++ templates like it does function


More information about the Gdb-cvs mailing list