public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@adacore.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/3] Implement DAP "source" request
Date: Fri, 28 Jul 2023 11:09:14 -0600	[thread overview]
Message-ID: <20230728-dap-source-refs-v1-0-1bcc5cdffd44@adacore.com> (raw)

This series refactors some source / sourceReference handling in the
DAP implementation and then implements the "source" request.

---
Tom Tromey (3):
      Introduce sourceReference handling in DAP
      Handle Source in DAP breakpointLocations
      Implement DAP "source" request

 gdb/python/lib/gdb/dap/breakpoint.py | 10 ++---
 gdb/python/lib/gdb/dap/bt.py         |  9 +---
 gdb/python/lib/gdb/dap/locations.py  | 12 ++----
 gdb/python/lib/gdb/dap/sources.py    | 82 +++++++++++++++++++++++++++++++++---
 gdb/testsuite/gdb.dap/basic-dap.exp  |  3 --
 gdb/testsuite/gdb.dap/sources.c      | 22 ++++++++++
 gdb/testsuite/gdb.dap/sources.exp    | 52 +++++++++++++++++++++++
 7 files changed, 158 insertions(+), 32 deletions(-)
---
base-commit: 249d4715e41061b6bd2d26df20ae274e6478f972
change-id: 20230728-dap-source-refs-e07c9993c6dd

Best regards,
-- 
Tom Tromey <tromey@adacore.com>


             reply	other threads:[~2023-07-28 17:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-28 17:09 Tom Tromey [this message]
2023-07-28 17:09 ` [PATCH 1/3] Introduce sourceReference handling in DAP Tom Tromey
2023-07-28 17:09 ` [PATCH 2/3] Handle Source in DAP breakpointLocations Tom Tromey
2023-07-28 17:09 ` [PATCH 3/3] Implement DAP "source" request 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=20230728-dap-source-refs-v1-0-1bcc5cdffd44@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).