[0/3] Implement DAP "source" request

Message ID 20230728-dap-source-refs-v1-0-1bcc5cdffd44@adacore.com
Headers
Series Implement DAP "source" request |

Message

Tom Tromey July 28, 2023, 5:09 p.m. UTC
  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,