[RFC 0/3] [gdb/dap] Fix issues triggered by gdb.dap/eof.exp
Tom de Vries
tdevries@suse.de
Wed Feb 7 09:02:21 GMT 2024
When running test-case gdb.dap/eof.exp on aarch64-linux, sometimes I run into
a gdb segfault.
This series makes the test-case pass reliably.
The series consists of three patches.
The second one seems obvious to me, and doesn't depend on the other patches.
The first and last I'm not sure about, so this series is an RFC.
Tested on aarch64-linux.
Tested by running the dap test-cases 500 times in a row.
Tom de Vries (3):
[gdb/dap] Fix exit race
[gdb/dap] Catch and log exceptions in dap threads
[gdb/dap] Ignore OSError on stream.flush in JSON writer
gdb/python/lib/gdb/dap/io.py | 6 ++++--
gdb/python/lib/gdb/dap/startup.py | 20 ++++++++++++++++++--
2 files changed, 22 insertions(+), 4 deletions(-)
base-commit: 0afc614c9938fbf5eda10a26c77d574c3c2f945a
--
2.35.3
More information about the Gdb-patches
mailing list