Remove unused imports from gdb's Python code
authorTom Tromey <tromey@adacore.com>
Mon, 13 Feb 2023 17:16:05 +0000 (10:16 -0700)
committerTom Tromey <tromey@adacore.com>
Mon, 13 Feb 2023 17:22:48 +0000 (10:22 -0700)
commitda59d966b8d182653f9bf3cfa93f921e8993757b
treefe3d432f06924876c5f31574afb8e7972efb213a
parentd27ff777c65654bc4166165cc45743fcc7bae3a0
Remove unused imports from gdb's Python code

The "sys" import is unused in several Python files.  This removes this
line from all the places where it is unnecessary.
gdb/python/lib/gdb/command/explore.py
gdb/python/lib/gdb/printer/bound_registers.py
gdb/python/lib/gdb/printing.py
gdb/python/lib/gdb/xmethod.py