From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta34.uswest2.a.cloudfilter.net (omta34.uswest2.a.cloudfilter.net [35.89.44.33]) by sourceware.org (Postfix) with ESMTPS id 77F8C3858C60 for ; Fri, 15 Mar 2024 01:15:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 77F8C3858C60 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 77F8C3858C60 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.33 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710465319; cv=none; b=kdeWp140R8ZM6cjS6KxsaNr3GbuKX+QnALwNnVD9mS1c8HfAuBm1+MMldjQIFKbxM/KLIZAUoeP0e7tIWZ8HG1lsyWvy0U7d1Ff/KifczY5McO5oS+2yrD5iClBlO21hnjdWcBwGGby8uO7i1CGWZYn1j0ji9m8eNdOkzDgv80g= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710465319; c=relaxed/simple; bh=ar15ASQzmpYl9iBIMsCMbS8LhlNTDTIvSRWvkYLSOjw=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=vrENtmYnJpPJoEXlwr38UDXOOOnOaXA0MC/gYZPk8nuxBq8LX0NjUPkDZq5fiELlZmfJfrfh50ExP6wwMY3Lp4QdoB30uAAuy82chY2S8G0vSzfhRseddYo33Shwp+UxI4+bQtFBnX1sTEOxEunjf5ZeK2Bz7aLScd4DNIbcMkg= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-6003a.ext.cloudfilter.net ([10.0.30.151]) by cmsmtp with ESMTPS id kunnrRD1xHXmAkwAErlPyT; Fri, 15 Mar 2024 01:15:14 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id kwADrG4JEB0BGkwADr7h3R; Fri, 15 Mar 2024 01:15:14 +0000 X-Authority-Analysis: v=2.4 cv=cNPmsEeN c=1 sm=1 tr=0 ts=65f3a122 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=K6JAEmCyrfEA:10 a=Qbun_eYptAEA:10 a=pGLkceISAAAA:8 a=zstS-IiYAAAA:8 a=IhfmrU5DAAAA:8 a=mBcZ3IafsQ7vSr9IchkA:9 a=zZCYzV9kfG8A:10 a=4G6NA9xxw8l3yy4pmD5M:22 a=QUmUJGn8_LQjycELRnGZ:22 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=ve5iB57BxL+vhoJPxOHCtl0R1u9MWvmazmUvmrQ2WsU=; b=wAnKD1nSbAq/Ds/9u5JNxKh68h SLqm0WUAYXxRlWzvdixqT0OzE5vTRpii0s8/qA0S3WhtZCCGqF+yPQ1D54nQ4yelKY/yt0Q6EziXv KJTvF+Zs8B+QStXFQulmNtAg2; Received: from 97-122-82-115.hlrn.qwest.net ([97.122.82.115]:33822 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 1rkwAD-002OvC-15; Thu, 14 Mar 2024 19:15:13 -0600 From: Tom Tromey To: Alan Modra Cc: Tom Tromey , Nick Clifton , binutils@sourceware.org Subject: Re: [PATCH 1/3] Make several more BFD globals thread-local References: <20240130010540.1754740-1-tom@tromey.com> <20240130010540.1754740-2-tom@tromey.com> <87sf1xjj62.fsf@tromey.com> <87bk8ljh31.fsf@tromey.com> <87y1asxl6l.fsf@tromey.com> X-Attribution: Tom Date: Thu, 14 Mar 2024 19:15:06 -0600 In-Reply-To: (Alan Modra's message of "Sat, 9 Mar 2024 14:41:13 +1030") Message-ID: <87o7bguwh1.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: 1rkwAD-002OvC-15 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-82-115.hlrn.qwest.net (prentzel) [97.122.82.115]:33822 X-Source-Auth: tom+tromey.com X-Email-Count: 3 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfB5eBa+RlWkxhlPAkcS6lB9q36XIAuWdnifTuQvRFpTbpcpGs3UAIzr9g33YSXhslRyl4EiBm+Zkkw48zDfiK3d/93JwFhlxWVNhb8MWPAkB7wdZbXYD 6CahPYZzXrrLOfT7S3R7Y5pSZ2uShEQqq/s7hb9fva6++1QT4H+Sm5uKa1JdIGv/G0Sv+3uHh11EXV5KlZnc3qmzCSET9GouvqU= X-Spam-Status: No, score=-3015.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,JMQ_SPF_NEUTRAL,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: >>>>> "Alan" == Alan Modra writes: Alan> On Fri, Mar 08, 2024 at 06:12:34PM -0700, Tom Tromey wrote: >> >>>>> "Tom" == Tom Tromey writes: Tom> Also I think it'd be good if print_warnmsg re-emitted the errors using Tom> _bfd_error_handler. This would let gdb print them the way it likes. Tom> However... that's a change to semantics so I don't know if that's OK or Tom> whether another error emitter is required. I guess I don't really know Tom> how to provoke one of these messages and when they would matter. Alan> See 5aa0f10c424e commit log. Alan> The testcase in https://oss-fuzz.com/testcase-detail/4772285297328128 Alan> is the one that prompted all the messing around with errors. Try Alan> objdump or nm from 2.36 on that one.. Unfortunately I couldn't access it. Is there any chance you could send it to me so I can try it against my patch? thanks, Tom