From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta036.useast.a.cloudfilter.net (omta036.useast.a.cloudfilter.net [44.202.169.35]) by sourceware.org (Postfix) with ESMTPS id 270613858CDA for ; Tue, 30 Jan 2024 01:05:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 270613858CDA 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 270613858CDA Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.35 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706576756; cv=none; b=a1KsOC8tdMkWvARiU2ph+a2VogLwle6NVgOMAQZ7VSkca871x+zYk2ZZeHLDXVSMpuzv3zCXAqjYRqN8Wm5Bn1BiA70WfUMrn54bb0QNOE1dmfZJkrDb/X23KkIg1IBs6cWF9jotu22rPRwLiw2Dk+T/MWxMYfjm/w+xYavzy9s= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706576756; c=relaxed/simple; bh=D+B0wOO6BuAfHMgpDbRBCbWtQtSrSBP7J1zeCLadq9Q=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=rBHiW1W/Hs7+XP90vLhuGDfgqbXx+jc7INtmTr73FlggSWAsYLfW+LtXhopKWgr+t/hJHEJ+nlvp5r+EmZbmrtv1Xpsr6ayUZTjajLQFimm8Bz8s4p81mEYxkFXNSRPi8VAb1ewOYc7w3jImI/jk+cF0NyZM+HCA7tnzn3cR7y8= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-6005a.ext.cloudfilter.net ([10.0.30.201]) by cmsmtp with ESMTPS id UUzLrE8H78uLRUcZVrXwRX; Tue, 30 Jan 2024 01:05:53 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id UcZUrOKWA1UTRUcZUr0jHB; Tue, 30 Jan 2024 01:05:52 +0000 X-Authority-Analysis: v=2.4 cv=ZOXEJF3b c=1 sm=1 tr=0 ts=65b84b70 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=dEuoMetlWLkA:10 a=Qbun_eYptAEA:10 a=hNGsmYh_nPUjHAvWyooA:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject: To:From:Sender:Reply-To:Cc:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=/0/6ZpPpzuow+bVi8RLYMd9sjyNz5jAFc3CJx8J8Pvw=; b=WgEzh+DXiKNZ4eOwRZQiiX3TgX j3Sy/J/vAOjofRcbLLmRwTWe4CTMdEK6YHh58nTzq70LgfNVOn/itk54AyZBovPtMxhueW/ghvRJQ hlzQv7R9x1LSoS9OsMMx5DxDF; Received: from [161.98.8.3] (port=34570 helo=prentzel.ci.boulder.co.us) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rUcZT-003BfD-1I for binutils@sourceware.org; Mon, 29 Jan 2024 18:05:51 -0700 From: Tom Tromey To: binutils@sourceware.org Subject: [PATCH 0/3] Fix some error-printing issues Date: Mon, 29 Jan 2024 18:03:30 -0700 Message-ID: <20240130010540.1754740-1-tom@tromey.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: 161.98.8.3 X-Source-L: No X-Exim-ID: 1rUcZT-003BfD-1I X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (prentzel.ci.boulder.co.us) [161.98.8.3]:34570 X-Source-Auth: tom+tromey.com X-Email-Count: 1 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfDOY2K42YwLpNV2/RGNjWk5JIN/Rb1kmfaa5BVkKGbrKk8z6R2cRESL+7CUlNQmUQRydWSmolQWtw7ohPoAu78QkRa5edmKP2h6mQ6v7dTLcHdLdfP/y 77A+Pl40z1yt+xA29wVgmfesZKBBJuXFdZljXSkHjBBBLWv9vZxNjmwzv9+KaOA1Pzhc3/4gMElXMZCKTIdUvtAcbFxgAGWre0I= X-Spam-Status: No, score=-3016.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: This series came out of a race reported to gdb bugzilla. This is fixed in patch 1, though perhaps a different approach would be better for some of it -- I'd appreciate comments on this, I don't mind redoing it. Also there's another race in here that I haven't tackled yet, where bfd_check_format can race with bfd_cache_close_all. The next two patches clean up the error reporting system a little, to make it friendlier to gdb. Let me know what you think. Tom