Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/2] [gdb] TSAN fixes
@ 2026-02-16 18:09 Tom de Vries
  2026-02-16 18:09 ` [PATCH v2 1/2] [gdb/symtab] Replace per-BFD lock with global BFD lock Tom de Vries
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Tom de Vries @ 2026-02-16 18:09 UTC (permalink / raw)
  To: gdb-patches

I build gdb with TSAN at -O0, ran the testsuite and found a few problems.

This series fixes those.

The first patch changes the locking scheme.

The second patch removes a local lock in try_open_dwop_file.

Changes since v1:
- commited an approved patch [1]
- combined two patches related to the local lock in try_open_dwop_file
- replaced last patch by new patch changing the locking scheme

[1] https://sourceware.org/pipermail/gdb-patches/2026-January/224422.html

Tom de Vries (2):
  [gdb/symtab] Replace per-BFD lock with global BFD lock
  [gdb/symtab] Fix data race in try_open_dwop_file

 gdb/dwarf2/read.c | 15 ++++-----------
 gdb/gdb_bfd.c     | 37 ++++++++++++++++---------------------
 gdb/gdb_bfd.h     |  4 ++++
 3 files changed, 24 insertions(+), 32 deletions(-)


base-commit: 2d306bf8a70e4ef9d6cd6eeecf17a8e6f4f04151
-- 
2.51.0


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

end of thread, other threads:[~2026-05-27 21:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-16 18:09 [PATCH v2 0/2] [gdb] TSAN fixes Tom de Vries
2026-02-16 18:09 ` [PATCH v2 1/2] [gdb/symtab] Replace per-BFD lock with global BFD lock Tom de Vries
2026-03-04 20:20   ` Tom Tromey
2026-03-05 21:13     ` Tom de Vries
2026-02-16 18:09 ` [PATCH v2 2/2] [gdb/symtab] Fix data race in try_open_dwop_file Tom de Vries
2026-03-04 20:29   ` Tom Tromey
2026-05-27 19:16     ` Tom de Vries
2026-05-27 20:48       ` Tom Tromey
2026-05-27 21:55         ` Tom de Vries
2026-03-03 15:34 ` [PING][PATCH v2 0/2] [gdb] TSAN fixes 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