From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7C1543860765; Fri, 18 Aug 2023 17:49:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7C1543860765 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1692380959; bh=33cpUwvMxSb95w/7LE0dxfD0PGKWbzRzkhc8eqLJnKM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kl2QkL4ITwN4EaNrdKFZ8IUN9InM7EjO8P69/RYkLpaCr5ZZo9KkW1gjvIjlgpRde WdUWsFkXMtzHJJqNX2fYVy+EX8SJV1damx7YbcUa8nLxWlJqib31ZDFjqPLCpuc+iL KpBnEgPHnr2/Tf+GrhXhHvxLJqygNleAAbNpx6hQ= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug symtab/29942] Read some DWARF purely in background Date: Fri, 18 Aug 2023 17:49:18 +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: tromey at sourceware dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- 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=3D29942 --- Comment #5 from Tom Tromey --- I also looked at wrapping the cache iovec in a locked variant. However, this code in bfd_cache_close prevents that approach: /* Don't remove this test. bfd_reinit depends on it. */ if (abfd->iovec !=3D &cache_iovec) return true; I think I'll just end up wrapping all "suspect" BFD calls in a global lock. This may not be too bad, especially if we switch back to eager mapping of DWARF sections. --=20 You are receiving this mail because: You are on the CC list for the bug.=