From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id UfFbNVbudGoEQQ4AWB0awg (envelope-from ) for ; Thu, 06 Aug 2026 16:28:06 -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=wp7BBAhX; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id CE4131E09B; Thu, 06 Aug 2026 16:28:06 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::32]) (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 E8FEE1E09B for ; Thu, 06 Aug 2026 16:28:05 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 02BFE4BB3BA7 for ; Thu, 6 Aug 2026 20:28:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 02BFE4BB3BA7 Authentication-Results: sourceware.org; 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=wp7BBAhX Received: from omta38.uswest2.a.cloudfilter.net (omta38.uswest2.a.cloudfilter.net [35.89.44.37]) by sourceware.org (Postfix) with ESMTPS id 2A9474BA2E13 for ; Thu, 6 Aug 2026 20:27:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2A9474BA2E13 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 2A9474BA2E13 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=35.89.44.37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1786048057; cv=none; b=u2dRUZrPkNNdHvSyLbX7i9CTrHc8KYQsrvjDgf2dlW0W8vIr6OfTEZIkqBtWuYLG1KJFmUL9NNq7oFll/bEOB+e+47/kdPZxm+oyb06cSJunoPGkoq89JrtpHJUJpf7xqSuTkJU9ueH109L3AY3p2rwSXDubn84MzZKxECLJl4s= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1786048057; c=relaxed/simple; bh=oXvgmscmbzseggwS+tDefEtN8QflAkE/KKQSnRFv0GI=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=svTqJ5H4ehE7kYnbZkg8Ym7yOEVxMEhhmWSnjPnCEo5K7siRMBJ1mM5c3kgAfIcMCwHwF+n7vHGRyh5wmG1UklBWZt/uY5fcRLChtK2z8AQXZcnF8PNgf8+I8wbgq9RknjfPzGBkp4LbGRsDT13i25l+C1/lfKwdkevY8To8KCE= ARC-Authentication-Results: i=1; sourceware.org; dkim=policy (768-bit key, unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=wp7BBAhX reason="signing key too small" DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2A9474BA2E13 Received: from eig-obgw-6001b.ext.cloudfilter.net ([10.0.30.143]) by cmsmtp with ESMTPS id rydxwPsLsv0nds4giwfHhd; Thu, 06 Aug 2026 20:27:36 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id s4ggwD2nTUsP9s4ggwuRgZ; Thu, 06 Aug 2026 20:27:35 +0000 X-Authority-Analysis: v=2.4 cv=UPvdHDfy c=1 sm=1 tr=0 ts=6a74ee37 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=Sv0fKeRqtYgA:10 a=ItBw4LHWJt0A:10 a=0D9RA6RsvdDU2xS5OWgA:9 a=DCx65vhANUyCzuf5D8fC: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:Date:References:In-Reply-To :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=viTfhMH+0MtaQBzTYq3jj7cFR4i3hgogzoAX8E6aNE0=; b=wp7BBAhX5i3H73iUxTYCHVXFEQ E1d1YgGeQ563aVCvB4SzNriTXrqV32wC3//rOaiv+zpWefYCabAxWUzLK85TVIp8oeckUHkJWDzOy g63GiHmbFYb1+BMrFuxeRWc54; Received: from 75-166-225-82.hlrn.qwest.net ([75.166.225.82]:38332 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.99.5) (envelope-from ) id 1ws4gg-00000003Q6E-17Wh; Thu, 06 Aug 2026 14:27:34 -0600 From: Tom Tromey To: Tom de Vries Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [PATCH] Minor 'debug_*' function improvements In-Reply-To: (Tom de Vries's message of "Thu, 6 Aug 2026 08:58:01 +0200") References: <20260805192422.3038043-1-tromey@adacore.com> X-Attribution: Tom Date: Thu, 06 Aug 2026 14:27:33 -0600 Message-ID: <87zeyzxadm.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) 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: 75.166.225.82 X-Source-L: No X-Exim-ID: 1ws4gg-00000003Q6E-17Wh X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-225-82.hlrn.qwest.net (bapiya) [75.166.225.82]:38332 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: MS4xfPhkcrtLf5cYhF57Bul43yPLQ7woCf3eeJIwwZg2V+FNr+ZJk69Msb64+PQkCEETPyVZCt7puHyuU7EHRfDa8VvRtwUrxN7WTsmYZCx+6Vi1wXKbYVy8 7yNpaTiPn6587ukHBwCruTnxS6XDmkmFYsYd4yV96uOF2qZg5/dEYKiwxKp4ixD0YmOBGcyM0zSeXC3/eSotZuJemSSHUyv3ep4= 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 >>>>> "Tom" == Tom de Vries writes: Tom> It recommended ATTRIBUTE_UNUSED (which just suppresses a warning), but Tom> the way I intended this originally fits ATTRIBUTE_USED better: "When Tom> attached to a function, this attribute means that code must be emitted Tom> for the function even if it appears that the function is not Tom> referenced". So perhaps it would be a good moment to fix this as Tom> well. I'll send a v2 shortly. Tom