[PATCH 0/3] Implement DAP "source" request
Tom Tromey
tromey@adacore.com
Fri Jul 28 17:09:14 GMT 2023
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>
More information about the Gdb-patches
mailing list