From: Tom Tromey Date: Mon, 22 May 2023 19:43:31 +0000 (-0600) Subject: Remove unused imports X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=672c55ddcf17d322dbc868d8465f0027d8210e73;p=binutils-gdb.git 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. --- 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