From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id eVKLFXT3BWaZCxoAWB0awg (envelope-from ) for ; Thu, 28 Mar 2024 19:04:20 -0400 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=VgbbNPI0; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 477051E0C0; Thu, 28 Mar 2024 19:04:20 -0400 (EDT) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 21B031E08C for ; Thu, 28 Mar 2024 19:04:18 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8ABC83858407 for ; Thu, 28 Mar 2024 23:04:17 +0000 (GMT) Received: from omta40.uswest2.a.cloudfilter.net (omta40.uswest2.a.cloudfilter.net [35.89.44.39]) by sourceware.org (Postfix) with ESMTPS id BA6D7385801D for ; Thu, 28 Mar 2024 23:03:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BA6D7385801D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BA6D7385801D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.39 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711667036; cv=none; b=kPyBOYHu5oLaSX7wSTTL+JJrrkq4UkalgwDjsmhD7jUjUtjNZS51uVcixuEP96y7BWUCO1f2vjAMBqqT4hBXcKbXzabJlRGK/tWeG6sU+Mdz0YwpTazU5P50zDxQek1ASgiREE2HH4KtS2P+3pYUAUAhQGEH7VwMG2En1//4Cq0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711667036; c=relaxed/simple; bh=uJa/A7M5WOL9CcPHpKaKHXUJQXMNvTi70NTD9BzfCp4=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=pjbVZTVHBO4AAGFW42IiLTtT7DJAja3pcTVQWc+jvo++4VQ8QffHaZzdOk3grVYcUC2MWqO10xAhkZSmgj2fp7OR69TeG3gm/PLfdG+g4BMixyZRjKg1BIe9sNaw1EXoY359FUYdkuvVINimjPeYag4Hd6lOMrjRSY0dP33Z/5Y= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-5007a.ext.cloudfilter.net ([10.0.29.141]) by cmsmtp with ESMTPS id pgkwrcLLhPM1hpymnr9cWW; Thu, 28 Mar 2024 23:03:53 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id pymmro3bUeXgGpymmrrfnZ; Thu, 28 Mar 2024 23:03:53 +0000 X-Authority-Analysis: v=2.4 cv=Q/PU4Z2a c=1 sm=1 tr=0 ts=6605f759 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=K6JAEmCyrfEA:10 a=Qbun_eYptAEA:10 a=zd2uoN0lAAAA:8 a=eYYA_5eXfoRq41NedpUA:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=5vuUw6JOkmbFyFX9GhKxuNBH0QDsKYeDWSKYvX9ItpE=; b=VgbbNPI0s6Ctx7xSlJ8mQLewKh DATRIk/99sVtyiieEERS+9YxA3syiG6LKEr9jvp2YM8Rz+sILHO7+1CpcZK+D85OFy750EAZBK1/R cpV/v1wzBIQwG+AsEr69gCUdW; Received: from 97-122-82-115.hlrn.qwest.net ([97.122.82.115]:39110 helo=prentzel) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rpymm-001jGq-0f; Thu, 28 Mar 2024 17:03:52 -0600 From: Tom Tromey To: Lancelot SIX Cc: Tom Tromey , Subject: Re: [PATCH] Avoid race when reading dwz file References: <20240125135129.977108-1-tom@tromey.com> <877ciczufp.fsf@tromey.com> <20240328103632.7iljwbcnjm55rkgd@khazad-dum> X-Attribution: Tom Date: Thu, 28 Mar 2024 17:03:51 -0600 In-Reply-To: <20240328103632.7iljwbcnjm55rkgd@khazad-dum> (Lancelot SIX's message of "Thu, 28 Mar 2024 10:37:04 +0000") Message-ID: <87edbuq7qg.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.122.82.115 X-Source-L: No X-Exim-ID: 1rpymm-001jGq-0f X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-82-115.hlrn.qwest.net (prentzel) [97.122.82.115]:39110 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfBE6j2pR54sxlmdVNoEpxy3BcG8CoYWmoFVaquJ161+ntQz1WTQqqIxdtg/j6qPxz5BtjesLD7akw+JHKgv0ruuv10/9JLpU8Auj170yI8QQQpcxwSCt oaaR1dfZT+fYQZAMxxpN5Ptm9n+J4zeVNaj0i39Ik50GNex7PCFzy+pJQHS3GT93QvAUSQhZ8RwjBNey8713mTvwhbERmknKtqI= X-Spam-Status: No, score=-3015.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, JMQ_SPF_NEUTRAL, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org >>>>> "Lancelot" == Lancelot SIX writes: Lancelot> I am not too sure if it makes sense to try to load the debug info Lancelot> referenced in .gnu_debugaltlink if the "main" debug info section is Lancelot> missing. It can be better than nothing as it can provide some types Lancelot> information, but it is definitely not sufficient for a "full" debug Lancelot> session. Lancelot> Should the call to dwarf2_read_dwz_file be guarded only if "main" debug Lancelot> info sections are present? I can prepare a patch doing this. I think that would be fine. I'm happy to do it if you'd rather. thanks, Tom