From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id ljEkKBh0g2rQji0AWB0awg (envelope-from ) for ; Mon, 17 Aug 2026 16:50:32 -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=t/gGRSwo; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 9386C1E09B; Mon, 17 Aug 2026 16:50:32 -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 [38.145.34.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 AE4DE1E09B for ; Mon, 17 Aug 2026 16:50:31 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9493E4BB1C2B for ; Mon, 17 Aug 2026 20:50:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9493E4BB1C2B 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=t/gGRSwo Received: from omta040.useast.a.cloudfilter.net (omta040.useast.a.cloudfilter.net [44.202.169.39]) by sourceware.org (Postfix) with ESMTPS id 7A0484B99F76 for ; Mon, 17 Aug 2026 20:50:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7A0484B99F76 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 7A0484B99F76 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=1786999805; cv=none; b=MBk1tnF3z/qV9PVw8anWS6H0M+c/YnVyWlF4EMEpsq/YQrOA1rYIWb3nNcg57MbqwgalhFK/zwEVjXg55btJs3L4kf8jwEIVYmsy2Ca06ytELaVRyzZgU3QWzXJSdhbz2BYLcv0UaA5X0KcXV2wuome5PRfs2AWFBKq/+lSRA8U= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1786999805; c=relaxed/simple; bh=6ims6wVqfibGea/3EPmeyM3AHKZU0ggW5bGYzTTdmm4=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=xST3Mfz3u960ZWrg3J5cDYimJ/0evjLrbYixU+nIpz0IG4ojvjZZ8oKRqoTwr6K6Z/pvvodEhnQd1dlI+le28a0YTjkBHQit8lzLCVjzxm64TUcPDowK3Kh5L8nZykUBf7uFtVD+3HTZtW5RK6c43doE2ymUIAOmv2/oRlEWPPU= 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=t/gGRSwo reason="signing key too small" DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7A0484B99F76 Received: from eig-obgw-6001b.ext.cloudfilter.net ([10.0.30.143]) by cmsmtp with ESMTPS id vyomwH3sguFzgw4HUwxRdq; Mon, 17 Aug 2026 20:50:05 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id w4HUwdFBcUsP9w4HUwjXzr; Mon, 17 Aug 2026 20:50:04 +0000 X-Authority-Analysis: v=2.4 cv=UPvdHDfy c=1 sm=1 tr=0 ts=6a8373fc a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=Sv0fKeRqtYgA:10 a=ItBw4LHWJt0A:10 a=20KFwNOVAAAA:8 a=r5BXEms919i9zf108bgA: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=xSgWpqm+Cp05GR77gLPKCM8kcPrHsiJqMAciWDj812c=; b=t/gGRSwo6qFw4K8gC+F+TlcGml 0h1in7QKi/jYkkfFU1tejj94UJdbND2pyAYYNoqtVMbbGaWQWZtQ4Bh3hEocEZnNArMTEWnBDzBMx F7NfdQmIjS2PT5XTKfPunyVGB; Received: from 75-166-225-82.hlrn.qwest.net ([75.166.225.82]:60224 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.99.5) (envelope-from ) id 1ww4HT-000000040T0-31XL; Mon, 17 Aug 2026 14:50:03 -0600 From: Tom Tromey To: Andrew Burgess Cc: Simon Marchi , gdb-patches@sourceware.org, binutils@sourceware.org Subject: Re: [PATCH 07/13] gdb/csky: remove uses of sprintf In-Reply-To: <87jypo3e90.fsf@redhat.com> (Andrew Burgess's message of "Mon, 17 Aug 2026 17:26:03 +0100") References: <20260817151646.152571-1-simon.marchi@efficios.com> <20260817151646.152571-8-simon.marchi@efficios.com> <87jypo3e90.fsf@redhat.com> X-Attribution: Tom Date: Mon, 17 Aug 2026 14:50:02 -0600 Message-ID: <877blov5dx.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: 1ww4HT-000000040T0-31XL X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-225-82.hlrn.qwest.net (bapiya) [75.166.225.82]:60224 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: MS4xfMe7d8HIhhxoV5f5xSazJ2ScLzZTbxcNTh6Mik9dtfFMu017Y55hzoPF1N0avXzQqEVqXafRFsGBEl/gsFqG5/73OzXwT55orsnaAtvD636FnC3pYSxR detCG3Pxg6XFd3Cr7yBvafYC3IGjSnc1lIgcNPWJBubNYbGTpZkE85kpO2Y+2UtQmd8xijEY0zwseF52/jMh3uj8MWPjmRSIkbQ= 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 >>>>> "Andrew" == Andrew Burgess writes: Andrew> to gdbsupport/common-utils.h. This is fine except that gcc is unable to Andrew> track the format literal through the template call, so I think we'd Andrew> actually have to do: It might work if instead the 'buf' argument were a gdb::array_view, which I think can be implicitly constructed from an array. Tom