From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id i65LJerGRmrryCIAWB0awg (envelope-from ) for ; Thu, 02 Jul 2026 16:15:38 -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=oJFFfO9J; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 84E6C1E024; Thu, 02 Jul 2026 16:15:38 -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 4C9C31E024 for ; Thu, 02 Jul 2026 16:15:37 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id F1BDC4BA23F4 for ; Thu, 2 Jul 2026 20:15:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F1BDC4BA23F4 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=oJFFfO9J Received: from omta040.useast.a.cloudfilter.net (omta040.useast.a.cloudfilter.net [44.202.169.39]) by sourceware.org (Postfix) with ESMTPS id EFB684BA5436 for ; Thu, 2 Jul 2026 20:15:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EFB684BA5436 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 EFB684BA5436 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=44.202.169.39 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1783023310; cv=none; b=l/P0S7/oArA11uG5OM6UOq/r6zrn8U1JHHsUEUbuJctV0lUVqbrruvzEQeQaGMJKeHYbTD74eg3N+O5NHNf+AhF3ZUWI/C/qZtaHIItUQn7DUaQikYhblHEzDSEhUphg5qEJZXOAsilgX4tlctA1hp+AguYA6nlX335LggTfTsI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1783023310; c=relaxed/simple; bh=J9K636mjHk//XY5PXtqBHEJfuGkUotSFeb9AhWiKP34=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=owddRGPxyO7EH776I8Ohzv1TJ239UYE35MWgt0x+WLCFEtwxDlyzeNiTRhyCriBWZlhJez9p24i4a6qcP2ZIPxOfd2FKWDYT+Azhew2to5DknDAeQCRhxtf1XfkQWnlF/0HCQPC4ZpdvxwtXYm/FfMraFUcIyejf0ygY74qbCro= 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=oJFFfO9J reason="signing key too small" DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EFB684BA5436 Received: from eig-obgw-6005b.ext.cloudfilter.net ([10.0.30.162]) by cmsmtp with ESMTPS id fJpdw4LdTVGUKfNoTwlqt9; Thu, 02 Jul 2026 20:15:09 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id fNoRwjxHZOYlBfNoRw1Zve; Thu, 02 Jul 2026 20:15:07 +0000 X-Authority-Analysis: v=2.4 cv=FLYbx/os c=1 sm=1 tr=0 ts=6a46c6cc a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=ItBw4LHWJt0A:10 a=zd2uoN0lAAAA:8 a=rIdLs03MCxdjFxAdGd8A:9 a=QEXdDO2ut3YA:10 a=DCx65vhANUyCzuf5D8fC:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: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=RWprNlXDQ0SOAYwdzfrqIwdzeTjFd+lT1uGKvoiONV4=; b=oJFFfO9Jw2z6uNmCpDpmxG0f3/ 7mJXIh+cYG1p0+2cPo/4JNiM16Jhp8UjdItlLEyGHHlw1AWghXQ5K8sxbNOIyVkzdy+t2ts5bStjc 4b5+9QSDAEZs5qDwr2/lRzDEb; Received: from 75-166-225-82.hlrn.qwest.net ([75.166.225.82]:43782 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.99.2) (envelope-from ) id 1wfNoR-00000002918-1OK8; Thu, 02 Jul 2026 14:15:07 -0600 From: Tom Tromey To: Lancelot SIX Cc: Tankut Baris Aktemur , gdb-patches@sourceware.org Subject: Re: [PATCH] gdb, amd-dbgapi-target: use PRIu64 and PRIu32 In-Reply-To: <6ae6dd2b-9577-4711-a0c8-93663a28e997@amd.com> (Lancelot SIX's message of "Wed, 1 Jul 2026 16:16:57 +0100") References: <20260701142846.2566570-1-tankutbaris.aktemur@amd.com> <6ae6dd2b-9577-4711-a0c8-93663a28e997@amd.com> X-Attribution: Tom Date: Thu, 02 Jul 2026 14:15:06 -0600 Message-ID: <87echlf8s5.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: 1wfNoR-00000002918-1OK8 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-225-82.hlrn.qwest.net (bapiya) [75.166.225.82]:43782 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: MS4xfPURXDL3L6+qkjiGQPWgTouff2ysllIPbxW4aUai8MrBv8AtCD7ZIfsjm3Xp8sSC2YBx+Sy2xP6lEC35ZFu33boBNhYbAFwbycl2bEKlMX4uHYLq4qKd s9K2pvJI6aMnMYsh47vkLrxwzTKSaCMfKWby6lMRrem0+hyZGrSZqoKsP1T2x1HhuYAvFcLpZ7ebw9H4Rs98bD9diEGoLmxdU3Q= 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 SIX writes: > Hi, > Doesn't GDB=E2=80=AFhave an implicit habit/policy not to use the PRI??? m= acros? > I do not mind them in amd-dbgapi-target.c, but want to make sure > global maintainers are fine with this. > I guess the alternative is to use pulongest + %s instead of PRIu64. > i.e. something like this: > str +=3D (agent_id !=3D AMD_DBGAPI_AGENT_NONE > ? string_printf (" %s", pulongest (agent_id.handle)) > : "?"); I don't know if it's a policy exactly, but personally I prefer pulongest et al, since I find the PRI* macros pretty ugly and unreadable. Tom