From: Tom Tromey <tromey@adacore.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 1/3] Remove unused imports
Date: Tue, 11 Jul 2023 08:48:52 -0600 [thread overview]
Message-ID: <20230711-dap-modules-v1-1-b4f6067c1b2e@adacore.com> (raw)
In-Reply-To: <20230711-dap-modules-v1-0-b4f6067c1b2e@adacore.com>
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 <http://www.gnu.org/licenses/>.
import gdb
-import gdb.printing
# This is deprecated in 3.9, but required in older versions.
from typing import Optional
--
2.40.1
next prev parent reply other threads:[~2023-07-11 14:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-11 14:48 [PATCH 0/3] Implement the DAP "modules" request Tom Tromey
2023-07-11 14:48 ` Tom Tromey [this message]
2023-07-11 14:48 ` [PATCH 2/3] Add Progspace.objfile_for_address Tom Tromey
2023-07-11 15:51 ` Eli Zaretskii
2023-07-21 15:48 ` Tom Tromey
2023-07-11 14:48 ` [PATCH 3/3] Implement DAP modules request Tom Tromey
2023-07-12 14:42 ` [PATCH 0/3] Implement the DAP "modules" request Alexandra Petlanova Hajkova
2023-07-21 18:05 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230711-dap-modules-v1-1-b4f6067c1b2e@adacore.com \
--to=tromey@adacore.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).