Add "cwd" parameter to DAP launch request
authorTom Tromey <tromey@adacore.com>
Mon, 24 Jul 2023 15:14:20 +0000 (09:14 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 1 Aug 2023 18:52:26 +0000 (12:52 -0600)
commitf131a5790812c3ca69a4fcd9cd2b9ac15b29d181
tree9897069805cad9ce21c12180e9b7777097ebf18f
parent7abfd03742d2cea591dca940aa748e865f906018
Add "cwd" parameter to DAP launch request

This adds the "cwd" parameter to the DAP launch request.

This came up here:
    https://github.com/eclipse-cdt-cloud/cdt-gdb-adapter/issues/90
... and seemed like a good idea.

Reviewed-By: Eli Zaretskii <eliz@gnu.org>
gdb/doc/gdb.texinfo
gdb/python/lib/gdb/dap/launch.py
gdb/testsuite/gdb.dap/cwd.exp [new file with mode: 0644]
gdb/testsuite/lib/dap-support.exp