public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [RFC 0/3] [gdb/dap] Fix issues triggered by gdb.dap/eof.exp
@ 2024-02-07  9:02 Tom de Vries
  2024-02-07  9:02 ` [RFC 1/3] [gdb/dap] Fix exit race Tom de Vries
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Tom de Vries @ 2024-02-07  9:02 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2024-02-14 17:15 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-07  9:02 [RFC 0/3] [gdb/dap] Fix issues triggered by gdb.dap/eof.exp Tom de Vries
2024-02-07  9:02 ` [RFC 1/3] [gdb/dap] Fix exit race Tom de Vries
2024-02-07 16:01   ` Tom Tromey
2024-02-13 15:04     ` Tom de Vries
2024-02-13 18:04       ` Tom Tromey
2024-02-13 18:11         ` Tom Tromey
2024-02-14 15:31         ` Tom de Vries
2024-02-14 15:34           ` Tom Tromey
2024-02-14 15:53             ` Tom de Vries
2024-02-14 16:18               ` Tom Tromey
2024-02-14 17:16                 ` Tom de Vries
2024-02-07  9:02 ` [RFC 2/3] [gdb/dap] Catch and log exceptions in dap threads Tom de Vries
2024-02-07 15:52   ` Tom Tromey
2024-02-12 15:15     ` Tom de Vries
2024-02-12 17:35       ` Tom Tromey
2024-02-07  9:02 ` [RFC 3/3] [gdb/dap] Ignore OSError on stream.flush in JSON writer Tom de Vries
2024-02-07 10:29   ` Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).