Add "target" parameter to DAP attach request
authorTom Tromey <tromey@adacore.com>
Tue, 16 May 2023 15:34:20 +0000 (09:34 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 12 Jun 2023 18:09:56 +0000 (12:09 -0600)
commit67efac36f17824b147b3d4645719404ccd662206
treed31f11164e20dbf2507a991be2ffa9f6a5784485
parent8115dffa1e76ab007223199dfbc8c1298d2bf06e
Add "target" parameter to DAP attach request

This adds a new "target" to the DAP attach request.  This is passed to
"target remote".  I thought "attach" made the most sense for this,
because in some sense gdb is attaching to a running process.  It's
worth noting that all DAP "attach" parameters are defined by the
implementation.

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