]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Explicitly quit gdb from DAP server thread
authorTom Tromey <tromey@adacore.com>
Fri, 23 Feb 2024 20:51:58 +0000 (13:51 -0700)
committerTom Tromey <tromey@adacore.com>
Tue, 27 Feb 2024 17:30:30 +0000 (10:30 -0700)
commitb452b96c1e57db42d50a42eb2f09f7c57681d073
tree29e1c3b609331913a4afe12df46dcbafd26cc8f6
parent6313c05640cf6e2f6b1b1b8e66789b34b45f19c7
Explicitly quit gdb from DAP server thread

This changes the DAP code to explicitly request that gdb exit.
Previously this could cause crashes, but with the previous cleanups,
this should no longer happen.

This also adds a tests that ensures that gdb exits with status 0.
gdb/python/lib/gdb/dap/server.py
gdb/testsuite/lib/dap-support.exp