aboutsummaryrefslogtreecommitdiff
path: root/compile
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-01-18 07:35:48 -0700
committerTom Tromey <tromey@adacore.com>2024-02-12 10:43:17 -0700
commit25558d2fc0e8b77d4c522c322012b048db4c1485 (patch)
tree7f4321b8f28ea77cae202a53d69c360af5824355 /compile
parent95fc420a40ebcbd510b41df77b93b11ec819f0a1 (diff)
downloadbinutils-25558d2fc0e8b77d4c522c322012b048db4c1485.zip
binutils-25558d2fc0e8b77d4c522c322012b048db4c1485.tar.gz
binutils-25558d2fc0e8b77d4c522c322012b048db4c1485.tar.bz2
Fix DAP launch and configurationDone requests
Co-workers at AdaCore pointed out that gdb incorrectly implements the DAP launch and configurationDone requests. It's somewhat strange to me, but the spec does in fact say that configuration requests should occur before the executable is known to gdb. This was clarified in this bug report against the spec: https://github.com/microsoft/debug-adapter-protocol/issues/452 Fixing 'launch' to start the inferior was straightforward, but this then required some changes to how breakpoints are handled. In particular, now gdb will emit the "pending" reason on a breakpoint, and will suppress breakpoint events during breakpoint setting.
Diffstat (limited to 'compile')
0 files changed, 0 insertions, 0 deletions