From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id BZP3DnbpHWkKCRQAWB0awg (envelope-from ) for ; Wed, 19 Nov 2025 10:59:50 -0500 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=hHP1OFMc; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 25CB71E048; Wed, 19 Nov 2025 10:59:50 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=no autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (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 708E71E048 for ; Wed, 19 Nov 2025 10:59:49 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id DAC373858C41 for ; Wed, 19 Nov 2025 15:59:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DAC373858C41 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=hHP1OFMc Received: from omta038.useast.a.cloudfilter.net (omta038.useast.a.cloudfilter.net [44.202.169.37]) by sourceware.org (Postfix) with ESMTPS id A97E0385274E for ; Wed, 19 Nov 2025 15:58:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A97E0385274E 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 A97E0385274E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1763567888; cv=none; b=lYahQQURtbvCOKXNdnTn7HbzZUovDYIEs0DFXtgeXKKw1IuCq3K0lsJll3iSedJs0LpzvYGIUSaILki5LFu+zTR6nP14eyN1dJZknZtvS63YSyyzffaYmM+V8xDqVdLn+7lI19n7+wWRcZgl4Gn9hKoe2E1ApxcZtgsuCuRPFuA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1763567888; c=relaxed/simple; bh=Vu0QG4bpycKvUPv/4d5QhBuUrp/B2XdZSTL9S0FRVEE=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=govNN/Aq5y7UkNqX7WKYm6fE8SwrkXL0UCMgU50TSbz30C0RTUL4h77e/ZHYo84BneJxOXmZ+x1GdLczRtrRKRvemZ0WzK15mJl3D9WHtbGozeHo1By7+pVuSh41Z1T0Ib787FblzAtpuiJhwBAq665SPjE/KV/HPLTFaz9OZPs= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A97E0385274E Received: from eig-obgw-5005b.ext.cloudfilter.net ([10.0.29.189]) by cmsmtp with ESMTPS id LkSVvCdksSkcfLkZMvlq8f; Wed, 19 Nov 2025 15:58:08 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id LkZLvLZv5S30ULkZMvXbig; Wed, 19 Nov 2025 15:58:08 +0000 X-Authority-Analysis: v=2.4 cv=J+aq7BnS c=1 sm=1 tr=0 ts=691de910 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=6UeiqGixMTsA:10 a=ItBw4LHWJt0A:10 a=7CQSdrXTAAAA:8 a=OafIiQaNCq2x_WdbNJcA:9 a=a-qgeE7W1pNrGK8U0ZQC:22 a=VS4QxaUSPT0UtbFnIvSC: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=M8Hj9t7lGVL7jpMId61ngVMwzn0Xef7CjL0fZeDgeZQ=; b=hHP1OFMcNawr57+n+I6SUHiB8M S/RRSvDJEDlygsCXkCPE1olxceure+vMeOl2Y57WkZQMcfsL5CQqRCndivsqdK+ZXBWHhyY/GSFoO RpzyEJ8FrSagJU6vVYs2mQ30c; Received: from 97-122-120-205.hlrn.qwest.net ([97.122.120.205]:49998 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vLkZL-000000041p5-0cti; Wed, 19 Nov 2025 08:58:07 -0700 From: Tom Tromey To: Ezra Sitorus Cc: Tom Tromey , , , Subject: Re: [RFC PATCH] gdb/py: Add pretty printer for __mfp8 for aarch64 In-Reply-To: (Ezra Sitorus's message of "Wed, 19 Nov 2025 13:12:01 +0000") References: <20251118141457.83739-1-Ezra.Sitorus@arm.com> <874iqrrxmo.fsf@tromey.com> X-Attribution: Tom Date: Wed, 19 Nov 2025 08:58:05 -0700 Message-ID: <87qztuqak2.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: 97.122.120.205 X-Source-L: No X-Exim-ID: 1vLkZL-000000041p5-0cti X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-120-205.hlrn.qwest.net (bapiya) [97.122.120.205]:49998 X-Source-Auth: tom+tromey.com X-Email-Count: 5 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfLBEipZo51d9aVkRiw3bxWS4JZRTBsZaU6gJGEe3Tx62mCin79HYFXWcPxjK864VEUgpFEjvOQbpRY9yoGcXY+/bUJja+xISmL0VPyyVoG8wuKTKtzei 3UeP+iJ8eKlvCHF9jffnFV5nhuh7MMEmulPNgv/fgEuh7Rilh/w7kWx2J5RxbPnhiTKCozD9ijziLpisJ7h7d53vcG6sDIQg2II= 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 >>>>> "Ezra" == Ezra Sitorus writes: >> Can the compiler be fixed to emit correct DWARF instead? That seems >> like it would be a lot better, and in keeping with the purpose of DWARF. Ezra> GCC encodes __mfp8 as a uint, while Clang encodes it as unsigned char. Ezra> Even if we were to focus on just GCC, __mfp8 is typedef'd as uint8_t so Ezra> I don't think we can emit a float type. Or is there something else I'm Ezra> overlooking? I don't really know anything about this type. Could you say what it really is? If it's just a float of some kind, then I don't see why it couldn't be emitted that way (i.e., base type with DW_ATE_Float and the appropriate size), and then if gdb needs special support, that could be added using the usual approach (floatformat or whatever). Tom