Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix a data race with the background DWARF reader
@ 2024-10-18  0:02 Tom Tromey
  2024-10-18  0:02 ` [PATCH 1/2] Use gdb_bfd_get_full_section_contents in auto-load.c Tom Tromey
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tom Tromey @ 2024-10-18  0:02 UTC (permalink / raw)
  To: gdb-patches

This series fixes a race in the background DWARF reader.

I was able to reproduce the original race manually (though not via
dejagnu), and then confirmed (at least, there weren't warnings from
TSAN) that this series fixes the problem.

---
Tom Tromey (2):
      Use gdb_bfd_get_full_section_contents in auto-load.c
      Add locking when reading BFD sections

 gdb/auto-load.c | 11 ++++-------
 gdb/gdb_bfd.c   | 23 +++++++++++++++++++++++
 2 files changed, 27 insertions(+), 7 deletions(-)
---
base-commit: 876f0e78ba8244aa5705530fd8522928f05e6783
change-id: 20241017-fix-race-pr-symtab-31626-e88148cf55a2

Best regards,
-- 
Tom Tromey <tom@tromey.com>


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

end of thread, other threads:[~2024-10-23 22:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-18  0:02 [PATCH 0/2] Fix a data race with the background DWARF reader Tom Tromey
2024-10-18  0:02 ` [PATCH 1/2] Use gdb_bfd_get_full_section_contents in auto-load.c Tom Tromey
2024-10-18  0:02 ` [PATCH 2/2] Add locking when reading BFD sections Tom Tromey
2024-10-23 22:30 ` [PATCH 0/2] Fix a data race with the background DWARF reader Kevin Buettner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox