commit | 706c6624c26b2c954713c872021594bd3a156dd3 | [log] [tgz] |
---|---|---|
author | Tom de Vries <tdevries@suse.de> | Thu Feb 22 11:35:26 2024 +0100 |
committer | Tom de Vries <tdevries@suse.de> | Thu Feb 22 11:35:26 2024 +0100 |
tree | 9abd6faefe6e5936a48031e591c541328c8809c0 | |
parent | 05bf17f03b890424312163463754de63cee73074 [diff] |
[gdb/dap] Fix race between dap exit and gdb exit When DAP shuts down due to an EOF event, there's a race between: - gdb's main thread handling a SIGHUP, and - the DAP main thread exiting. Fix this by waiting for DAP's main thread exit during the gdb_exiting event. Tested on aarch64-linux. Approved-By: Tom Tromey <tom@tromey.com> PR dap/31380 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31380