diff options
| author | Tom Tromey <tromey@adacore.com> | 2025-12-16 08:43:43 -0700 |
|---|---|---|
| committer | Tom Tromey <tromey@adacore.com> | 2026-01-05 06:30:49 -0700 |
| commit | 5d33cb5d4bfefd5458b4268fe3fbc0eaa9dfc6b6 (patch) | |
| tree | 7a0d9dc58d2287623d90b68553f8b402dbcbe95e /gdb/python/python.c | |
| parent | be970c68891fcfd0cf4008a515f87becc9dd3100 (diff) | |
| download | binutils-5d33cb5d4bfefd5458b4268fe3fbc0eaa9dfc6b6.zip binutils-5d33cb5d4bfefd5458b4268fe3fbc0eaa9dfc6b6.tar.gz binutils-5d33cb5d4bfefd5458b4268fe3fbc0eaa9dfc6b6.tar.bz2 | |
Fix DAP 'disconnect' implementation
gdb's implementation of the DAP 'disconnect' request was incorrect in
a few ways.
First, the 'terminateDebuggee' field is optional, and has a special
meaning when not supplied: it should do whatever the default is.
Second, if the inferior was attached, it should detach rather than
terminate by default.
Finally, if the inferior was not started at all, it seems reasonable
for this request to simply succeed silently -- currently it returns
"success: false" with the reason being that the inferior isn't
running.
Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions
