From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E454C385843B; Tue, 26 Mar 2024 15:55:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E454C385843B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1711468547; bh=uL2y70/uI3mR6Cq2N8LimngwvQVRsaPka9BHssq8IpY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XRbhg4mve6Y8qHx+3VloYUQe8QnVG5EhZVLLnoFRB7ejJEzEUkjPq8/BcaOlp+Xnu KYWbvqa/tmsC1/a9FWsik5ufQJwg8aI3IL1s88zQAL4TpijOIT31lldV75LfqzEXA6 kBxTREAe5f2UC2+aXZpYHWa+dxsjublvjjX4whJ0= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/30837] [gdb/symtab, index-cache] data race on current_inferior_ Date: Tue, 26 Mar 2024 15:55:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey at sourceware dot org X-Bugzilla-Target-Milestone: 15.1 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30837 --- Comment #9 from Sourceware Commits --- The master branch has been updated by Tom Tromey : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D818ef5f4137a= aff3afdb52f8bbd3a4c3a9ffa28b commit 818ef5f4137aaff3afdb52f8bbd3a4c3a9ffa28b Author: Tom Tromey Date: Tue Feb 13 13:55:34 2024 -0700 Capture warnings when writing to the index cache PR symtab/30837 points out a race that can occur when writing to the index cache: a call to ada_encode can cause a warning, which is forbidden on a worker thread. This patch fixes the problem by arranging to capture any such warnings. This is v2 of the patch. It is rebased on top of some other changes in the same area. v1 was here: https://sourceware.org/pipermail/gdb-patches/2024-February/206595.h= tml Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30837 --=20 You are receiving this mail because: You are on the CC list for the bug.=