]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/testsuite] Fix isort and flake8 errors from recent commit
authorTom de Vries <tdevries@suse.de>
Wed, 4 Feb 2026 15:00:52 +0000 (16:00 +0100)
committerTom de Vries <tdevries@suse.de>
Wed, 4 Feb 2026 15:00:52 +0000 (16:00 +0100)
A recent commit introduced some isort and flake8 errors.  Fix these.

Tested on x86_64-linux.

gdb/testsuite/gdb.base/corefile-no-threads.py

index ad53de2ffdb3dc974fb1f8217fea7c0cec13b8c4..5ba82ae9486eade76215d1a44df5856c88f69c9a 100644 (file)
 # If <name regex> is missing, or is the empty string, then any note
 # with the required type will be modified.
 
-import sys
-import struct
 import os
 import re
+import struct
+
+import gdb
 
 # Constants taken from the ELF spec.
 ELF_CLASS_32 = 0x1