From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 2LWROSXtHWl3ERQAWB0awg (envelope-from ) for ; Wed, 19 Nov 2025 11:15:33 -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=kA8nI0nO; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id CD8DC1E0B6; Wed, 19 Nov 2025 11:15:33 -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 2F8A01E048 for ; Wed, 19 Nov 2025 11:15:33 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B9FAA3851C05 for ; Wed, 19 Nov 2025 16:15:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B9FAA3851C05 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=kA8nI0nO Received: from omta36.uswest2.a.cloudfilter.net (omta36.uswest2.a.cloudfilter.net [35.89.44.35]) by sourceware.org (Postfix) with ESMTPS id 690B3385AC3D for ; Wed, 19 Nov 2025 16:14:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 690B3385AC3D 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 690B3385AC3D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.35 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1763568869; cv=none; b=hdsL50qiU4d80MvRLyoj3Y92HBxPDROWlgj1V5qiQ8ZpplGGiYUYva5u7N5ZK7gKaLnpz+JiCGow/a1GH0XUOFV5owYF+O5NpgFpdvEvvCHBrpFnrI4yCPdVR+WZsl1j6NyCXK6T2NOUxAtP7EtWt2q1RtMxYZv12SDgprglYZs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1763568869; c=relaxed/simple; bh=TnyTTbZfda2nDxQw5yDkh73C2MZfDOZdH9auY/H7TxA=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=LpK526zmcIQp5MZLmJN0t6NzHf/YPbMWz/BlGDlvI0Qgh/fW5USZU2OMaHKEGl0h3ZFUpxaGsXx2Jq/9qTRbyfRJsfuSlXLcO2mxBJUqdMkyldiHYWL6pN5y1RHXc6AIz8AGnclIUfNL6b51+HOW/F5GnU6/aECDO5+6f8qSydo= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 690B3385AC3D Received: from eig-obgw-6003b.ext.cloudfilter.net ([10.0.30.175]) by cmsmtp with ESMTPS id LjoFvwbgqVCBNLkpAvaDAq; Wed, 19 Nov 2025 16:14:28 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id Lkp9vWaJIfNVhLkpAvsWZ0; Wed, 19 Nov 2025 16:14:28 +0000 X-Authority-Analysis: v=2.4 cv=Ec3IQOmC c=1 sm=1 tr=0 ts=691dece4 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=6UeiqGixMTsA:10 a=ItBw4LHWJt0A:10 a=7d_E57ReAAAA:8 a=Bmnctfe2lOhGXFnfnMMA:9 a=jhqOcbufqs7Y1TYCrUUU: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=EVzHafk5xOoEytx7wpFo1jX+4IiTxJw9OcRKQwr3e3I=; b=kA8nI0nOvDsUDy+ofK3gBnESSm FtaIfhGOxtZt2q65oK6tU+X+WLdjtDlY0GkBy/wQPPS4u4pPwbleJwR/TKPT39pPnYAGWCk/ADWqR xwuHhDG9wsisCGD+LA4cnZvpK; Received: from 97-122-120-205.hlrn.qwest.net ([97.122.120.205]:35666 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vLkp9-00000001DzB-0YP2; Wed, 19 Nov 2025 09:14:27 -0700 From: Tom Tromey To: Simon Marchi Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 5/6] gdb/dwarf: store addr/offset/ref_addr sizes in dwarf2_per_cu In-Reply-To: <20251107211041.520697-6-simon.marchi@efficios.com> (Simon Marchi's message of "Fri, 7 Nov 2025 16:10:16 -0500") References: <20251107211041.520697-1-simon.marchi@efficios.com> <20251107211041.520697-6-simon.marchi@efficios.com> X-Attribution: Tom Date: Wed, 19 Nov 2025 09:14:08 -0700 Message-ID: <87a50iq9tb.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: 1vLkp9-00000001DzB-0YP2 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-120-205.hlrn.qwest.net (bapiya) [97.122.120.205]:35666 X-Source-Auth: tom+tromey.com X-Email-Count: 11 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfB5u770MGxXzVIGNJMNxjOHF9kBlHhZtLdXw2Pm9M4H8FyBCoiJ8/NUdir3zygAJITSYjlGUPyJ925JkGzZKEH1HA4I1i97MGdNIU0DK/QECD38amMp0 2h9bas/J6b9ZSN8HAyvTdPeNtdSAFM7FcC1QP6QXtt8kYzsFq7hHIJL0kglOtk4RZhharHfs63akcRy1mD4Iu4jerANbHiTVwGM= 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 >>>>> "Simon" == Simon Marchi writes: Simon> + /* Sizes for an address, an offset, and a section offset. These fields are Simon> + set by cutu_reader when the unit is read. */ Simon> + unsigned char m_addr_size = 0; Simon> + unsigned char m_offset_size = 0; Simon> + unsigned char m_ref_addr_size = 0; How about uint8_t instead. Tom