public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Cc: Tom Tromey <tom@tromey.com>
Subject: [pushed 0/4] [gdb/symtab] Fix more index-cache data races
Date: Fri,  4 Aug 2023 15:06:17 +0200	[thread overview]
Message-ID: <20230804130621.15883-1-tdevries@suse.de> (raw)

PR symtab/30718 reports two more data races when using the index-cache.

This series contains:
- two fixes, one for each data race,
- a test-case patch that addresses a problem that made it difficult to
  reproduce the data races in the gdb.base/index-cache.exp test-case, and
- a test-case patch that adds the regression test for this PR.

Because the fixes are similar to the recently committed patches:
- [gdb/symtab] Fix data race on
  dwarf2_per_cu_data::{m_header_read_in,is_debug_type}
- [gdb/symtab] Fix race on dwarf2_per_cu_data::{queued,is_debug_type}
I consider them obvious.

Tested on x86_64-linux.

Tom de Vries (4):
  [gdb/symtab] Fix data race on
    dwarf2_per_cu_data::{mark,is_debug_types}
  [gdb/symtab] Fix data race on
    dwarf2_per_cu_data::{files_read,is_debug_types}
  [gdb/testsuite] Move "maint wait-for-index-cache" ALAP in
    gdb.base/index-cache.exp
  [gdb/testsuite] Extend gdb.base/index-cache.exp further

 gdb/dwarf2/read.h                      | 20 ++++++------
 gdb/testsuite/gdb.base/index-cache.exp | 45 +++++++++++++++-----------
 2 files changed, 37 insertions(+), 28 deletions(-)


base-commit: b44293099e215d6558a8d91b5eaab137218d2e27
-- 
2.35.3


             reply	other threads:[~2023-08-04 13:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-04 13:06 Tom de Vries [this message]
2023-08-04 13:06 ` [pushed 1/4] [gdb/symtab] Fix data race on dwarf2_per_cu_data::{mark,is_debug_types} Tom de Vries
2023-08-04 13:06 ` [pushed 2/4] [gdb/symtab] Fix data race on dwarf2_per_cu_data::{files_read,is_debug_types} Tom de Vries
2023-08-04 13:06 ` [pushed 3/4] [gdb/testsuite] Move "maint wait-for-index-cache" ALAP in gdb.base/index-cache.exp Tom de Vries
2023-08-04 13:06 ` [pushed 4/4] [gdb/testsuite] Extend gdb.base/index-cache.exp further Tom de Vries

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230804130621.15883-1-tdevries@suse.de \
    --to=tdevries@suse.de \
    --cc=gdb-patches@sourceware.org \
    --cc=tom@tromey.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).