Add 'program' to DAP 'attach' request
authorTom Tromey <tromey@adacore.com>
Thu, 7 Dec 2023 16:51:52 +0000 (09:51 -0700)
committerTom Tromey <tromey@adacore.com>
Fri, 22 Dec 2023 16:05:17 +0000 (09:05 -0700)
commiteb6476e2db406ba323efba438b0d1851e86d02e5
tree8887453aacc110380b5b0a7423160a229999bd04
parent401b5b00ecef262ce36a8810775087c7d9928900
Add 'program' to DAP 'attach' request

In many cases, it's not possible for gdb to discover the executable
when a DAP 'attach' request is used.  This patch lets the IDE supply
this information.

Reviewed-By: Eli Zaretskii <eliz@gnu.org>
gdb/NEWS
gdb/doc/gdb.texinfo
gdb/python/lib/gdb/dap/launch.py
gdb/testsuite/gdb.dap/attach.exp
gdb/testsuite/lib/dap-support.exp