]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/testsuite: remove unused "global" statements in Python files
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 29 Oct 2025 17:49:17 +0000 (13:49 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 30 Oct 2025 16:15:13 +0000 (12:15 -0400)
commitde9f1c1bb22e1024813e523a36f458455cdcf7c7
tree962f65813d4d5d42e9cfdd91496db74746f0ec0c
parent168690b0f727d1bce43a758db3fc24a76b394503
gdb/testsuite: remove unused "global" statements in Python files

Fix the flake8 warnings of this type:

  gdb/testsuite/gdb.python/py-disasm.py:855:9: F824 `global current_pc` is unused: name is never assigned in scope

Change-Id: If492c69553cebea932cfb21e6fea26529761254c
Approved-By: Tom Tromey <tom@tromey.com>
gdb/testsuite/gdb.base/inline-frame-cycle-unwind.py
gdb/testsuite/gdb.base/pc-not-saved.py
gdb/testsuite/gdb.base/shlib-unload.py
gdb/testsuite/gdb.python/py-disasm.py
gdb/testsuite/gdb.python/py-missing-debug.py
gdb/testsuite/gdb.python/py-missing-objfile.py
gdb/testsuite/gdb.python/py-unwind.py
gdb/testsuite/gdb.python/tui-window-disabled.py