From 672c55ddcf17d322dbc868d8465f0027d8210e73 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 22 May 2023 13:43:31 -0600 Subject: [PATCH] Remove unused imports I noticed an unused import in dap/evaluate.py; and also I found out that my recent changes to use frame filters from DAP left some unused imports in dap/bt.py. --- gdb/python/lib/gdb/dap/bt.py | 3 --- gdb/python/lib/gdb/dap/evaluate.py | 1 - 2 files changed, 4 deletions(-) diff --git a/gdb/python/lib/gdb/dap/bt.py b/gdb/python/lib/gdb/dap/bt.py index 0350a3bb6d5..d1f82817c5e 100644 --- a/gdb/python/lib/gdb/dap/bt.py +++ b/gdb/python/lib/gdb/dap/bt.py @@ -15,11 +15,8 @@ import gdb import os -import itertools from gdb.frames import frame_iterator -from gdb.FrameIterator import FrameIterator -from gdb.FrameDecorator import FrameDecorator from .frames import frame_id from .server import request, capability from .startup import send_gdb_with_response, in_gdb_thread diff --git a/gdb/python/lib/gdb/dap/evaluate.py b/gdb/python/lib/gdb/dap/evaluate.py index 635a05fcdcd..63e80331b24 100644 --- a/gdb/python/lib/gdb/dap/evaluate.py +++ b/gdb/python/lib/gdb/dap/evaluate.py @@ -14,7 +14,6 @@ # along with this program. If not, see . import gdb -import gdb.printing # This is deprecated in 3.9, but required in older versions. from typing import Optional -- 2.30.2