[PATCH v2 0/2] Remove Python 2 support
Simon Marchi
simon.marchi@efficios.com
Mon Mar 21 14:46:22 GMT 2022
New version of this:
https://sourceware.org/pipermail/gdb-patches/2022-January/184910.html
Now that the GDB 12 branch has been created, I think we can merge
this. Patch 3 ("gdb/python: drop support for Python < 3.4") was
dropped.
Simon Marchi (2):
gdb/python: remove Python 2 support
gdb/python: remove Python 2/3 compatibility macros
gdb/NEWS | 3 +
gdb/config.in | 3 -
gdb/configure | 78 +-----------------
gdb/configure.ac | 18 ++---
gdb/doc/python.texi | 3 +-
gdb/python/lib/gdb/__init__.py | 2 +-
gdb/python/lib/gdb/command/explore.py | 22 +++--
gdb/python/lib/gdb/printer/bound_registers.py | 7 +-
gdb/python/lib/gdb/printing.py | 9 +--
gdb/python/lib/gdb/xmethod.py | 8 +-
gdb/python/py-arch.c | 17 ++--
gdb/python/py-breakpoint.c | 12 +--
gdb/python/py-cmd.c | 10 +--
gdb/python/py-connection.c | 10 +--
gdb/python/py-evts.c | 6 --
gdb/python/py-frame.c | 2 +-
gdb/python/py-framefilter.c | 6 +-
gdb/python/py-inferior.c | 6 +-
gdb/python/py-infthread.c | 4 +-
gdb/python/py-lazy-string.c | 2 +-
gdb/python/py-membuf.c | 81 ++-----------------
gdb/python/py-micmd.c | 8 +-
gdb/python/py-objfile.c | 6 +-
gdb/python/py-param.c | 24 ++----
gdb/python/py-record-btrace.c | 25 ++----
gdb/python/py-record-full.c | 4 +-
gdb/python/py-record.c | 2 +-
gdb/python/py-registers.c | 6 +-
gdb/python/py-signalevent.c | 2 +-
gdb/python/py-symbol.c | 6 +-
gdb/python/py-symtab.c | 6 +-
gdb/python/py-type.c | 25 ++----
gdb/python/py-unwind.c | 6 +-
gdb/python/py-utils.c | 55 ++-----------
gdb/python/py-value.c | 66 ---------------
gdb/python/py-xmethods.c | 6 +-
gdb/python/python-internal.h | 32 --------
gdb/python/python.c | 43 +++-------
gdb/testsuite/gdb.python/py-inferior.exp | 6 +-
.../py-mi-var-info-path-expression.py | 12 +--
gdb/testsuite/gdb.python/py-record-btrace.exp | 6 +-
gdb/testsuite/gdb.python/py-send-packet.py | 58 ++++---------
gdb/testsuite/gdb.python/py-shared.exp | 7 +-
gdb/testsuite/gdb.python/py-value.exp | 40 +--------
gdb/testsuite/lib/gdb.exp | 12 ---
45 files changed, 153 insertions(+), 619 deletions(-)
--
2.35.1
More information about the Gdb-patches
mailing list