[binutils-gdb] [gdb/testsuite] Fix isort and flake8 errors from recent commit
Tom de Vries
vries@sourceware.org
Wed Feb 4 15:00:56 GMT 2026
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2eba2726b3f57be086bca44c5694b9faf9396cef
commit 2eba2726b3f57be086bca44c5694b9faf9396cef
Author: Tom de Vries <tdevries@suse.de>
Date: Wed Feb 4 16:00:52 2026 +0100
[gdb/testsuite] Fix isort and flake8 errors from recent commit
A recent commit introduced some isort and flake8 errors. Fix these.
Tested on x86_64-linux.
Diff:
---
gdb/testsuite/gdb.base/corefile-no-threads.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gdb/testsuite/gdb.base/corefile-no-threads.py b/gdb/testsuite/gdb.base/corefile-no-threads.py
index ad53de2ffdb..5ba82ae9486 100644
--- a/gdb/testsuite/gdb.base/corefile-no-threads.py
+++ b/gdb/testsuite/gdb.base/corefile-no-threads.py
@@ -30,10 +30,11 @@
# 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
More information about the Gdb-cvs
mailing list