From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id Kck6B7KYiGoxdDQAWB0awg (envelope-from ) for ; Fri, 21 Aug 2026 14:28:02 -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=dyXy0HvU; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 044F51E0A3; Fri, 21 Aug 2026 14:28:02 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.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 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 025FF1E033 for ; Fri, 21 Aug 2026 14:28:00 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 97DCB4BB24C6 for ; Fri, 21 Aug 2026 18:27:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 97DCB4BB24C6 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=dyXy0HvU Received: from omta036.useast.a.cloudfilter.net (omta036.useast.a.cloudfilter.net [44.202.169.35]) by sourceware.org (Postfix) with ESMTPS id 13EDC4BB1C1F for ; Fri, 21 Aug 2026 18:27:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 13EDC4BB1C1F 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 13EDC4BB1C1F Authentication-Results: sourceware.org; arc=none smtp.remote-ip=44.202.169.35 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1787336855; cv=none; b=QJUlX5nBulKy6Dt0H8UVqU9ruv+Rx/HHMrcmBJ7OZbM3BG6L64YJD6yh0AxwNSQb61uj16Z/TzsqQCFinJmlBemLawm62mUE7mfNg2Z6VUS+OdXGLM9GsuxBoZtyaRhHVNh9HhfFt7vmRP/lir5q1Sd4INMWyQhYNHAC4ExmgVw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1787336855; c=relaxed/simple; bh=AQ6HtKnFYfxr94YEs1vN24K70ekI3ceKjoVIX/5H6eI=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=KDa2tvYUGsv72Md6Qv5Skbt3VKJBMDOz53meDIdqIxt8iClbvknfIWs4Vn6bNnqVmPu1ZQTmc7ZM0DCPbYIKn88lfBs96pj0YPGIVNKqdM9xY/lx3ceQHJZcC4a1tUwOc8fIc06R9pi2LRwf0E07sMRbXGrTkHTOFAB/6SH05Hw= 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=dyXy0HvU reason="signing key too small" DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 13EDC4BB1C1F Received: from eig-obgw-6006b.ext.cloudfilter.net ([10.0.30.211]) by cmsmtp with ESMTPS id xRuIwk0dzLvgbxTxmwBJ0T; Fri, 21 Aug 2026 18:27:34 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id xTxlw0aFqml7lxTxlwzLb3; Fri, 21 Aug 2026 18:27:33 +0000 X-Authority-Analysis: v=2.4 cv=KrBN2XWN c=1 sm=1 tr=0 ts=6a889895 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=Sv0fKeRqtYgA:10 a=ItBw4LHWJt0A:10 a=zstS-IiYAAAA:8 a=WX0Jf-6d5-ckEFMRELoA:9 a=4G6NA9xxw8l3yy4pmD5M:22 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=PVV49AxmG47NRw5S8d0GwQg7NcU1p/AfYingUczNvd0=; b=dyXy0HvUIEwxBu1EsGp/taBYWQ 49hQw19mjAH/0YqM3ESI4DS3R2GZYUZF/fW8D4uxKlv2nLlT0/q6c02AS0OlhWBAs2XXvJkdRbixJ ew/CFItUzPY6sLHoRyNCMd51X; Received: from 97-122-117-2.hlrn.qwest.net ([97.122.117.2]:53774 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.99.5) (envelope-from ) id 1wxTxl-00000002hSU-0QW4; Fri, 21 Aug 2026 12:27:33 -0600 From: Tom Tromey To: Hannes Domani Cc: gdb-patches@sourceware.org Subject: Re: [PATCH v2 4/8] Windows gdb: Refactor getting pointer to register inside context In-Reply-To: <20260727174619.1089041-4-ssbssa@yahoo.de> (Hannes Domani's message of "Mon, 27 Jul 2026 19:42:28 +0200") References: <20260727174619.1089041-1-ssbssa@yahoo.de> <20260727174619.1089041-4-ssbssa@yahoo.de> X-Attribution: Tom Date: Fri, 21 Aug 2026 12:27:31 -0600 Message-ID: <87fr07pbvw.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.117.2 X-Source-L: No X-Exim-ID: 1wxTxl-00000002hSU-0QW4 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-117-2.hlrn.qwest.net (bapiya) [97.122.117.2]:53774 X-Source-Auth: tom+tromey.com X-Email-Count: 8 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfEY6KIUSTuOAs8AhrTi+u3dmscLG6usiLiclBRtvkkKJX0NNDTf4ir8t2Gt2KpUYm78h8353W0No9Mt8JTqHMYEvyoNdp7IJu7LxKlUl8U5adKgrQ9Ys HInpBUWmPIsbRKWn5xKl0cIShX3kfIlsXNZ5haDzZZTgCfkvfAfJCF4VFNbPio9IPnIQTKurDy4kEMfD3+F3dqd7JRsN2E2WGUI= 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 >>>>> "Hannes" == Hannes Domani writes: Hannes> These get_context_reg_ptr helper functions will be extended for XState Hannes> registers later. Ok. I wonder if we could share more code here between gdb and gdbserver. It would be nice in the long run to have very little divergence between the two. (Or, once again cue up a discussion about moving to the only-gdbserver model...) Approved-By: Tom Tromey Tom