From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 4bmkB76032nEthkAWB0awg (envelope-from ) for ; Wed, 15 Apr 2026 11:54: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=UpLJ8kNR; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 181271E04F; Wed, 15 Apr 2026 11:54: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=-2.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED 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 124471E04F for ; Wed, 15 Apr 2026 11:54:37 -0400 (EDT) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id B31FF4BA2E14 for ; Wed, 15 Apr 2026 15:54:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B31FF4BA2E14 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=UpLJ8kNR Received: from omta36.uswest2.a.cloudfilter.net (omta36.uswest2.a.cloudfilter.net [35.89.44.35]) by sourceware.org (Postfix) with ESMTPS id C99974BA2E09 for ; Wed, 15 Apr 2026 15:54:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C99974BA2E09 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 C99974BA2E09 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=1776268449; cv=none; b=MWD/Sun3D8tRMaLKAWeAjwjjC87zotqttuVXf737sZHEY+AZDhsFbtYu9n9augmPJTQxzhSq94SKz57KsqwgQFoYj6bQccaMVZ3TL3nkZRCL76QHN6ErqsxGar8LyZXh9P15/eEE4ZbJ6nusT6CLgu82GlDhsM/sl7DSLWd15pk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776268449; c=relaxed/simple; bh=1OAW0bkvZcvqfKm9De+xR01XM9sbaQG0qUhfW2tD6SI=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Q6EPZ/7EDnqn3/vXXUeCv70/7cgvmvZKFQuUtn6wh0ydw5VBsGAdLqinut7JqxhYNvyI4CoXjgZB37s8Gbku/iYiOBPojqbdYr4OJO3NWSY9d1LRKLINSy39f1roMCxYfl574kCLHGvfEItfK6m6ShdrcAqQR4kM99dapkEiVUc= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C99974BA2E09 Received: from eig-obgw-6002b.ext.cloudfilter.net ([10.0.30.203]) by cmsmtp with ESMTPS id D2SOw2ahwnwj2D2Z4wYwf6; Wed, 15 Apr 2026 15:54:06 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id D2Z3w63qMwWe6D2Z4wtl42; Wed, 15 Apr 2026 15:54:06 +0000 X-Authority-Analysis: v=2.4 cv=RfSQC0tv c=1 sm=1 tr=0 ts=69dfb49e a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=A5OVakUREuEA:10 a=ItBw4LHWJt0A:10 a=QyXUC8HyAAAA:8 a=duns-vcmDdbnlfXyALcA: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=nd1EdfiMH2IlKOY66jazPtPt6JyAbyGVvsFftGbLvlA=; b=UpLJ8kNRTYHpmxGV2J5XCrbLmW L6PRnR/sKBp/Jwjstr8aRL+8GD5TUixnGJzUyotKtaWyJ0dtgY5ACiUVj0wLMhuN3yNTC9+NMpxYa 0ZiCMpzaqOiiFitFU9sAuA4F0; Received: from 75-166-225-82.hlrn.qwest.net ([75.166.225.82]:34452 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wD2Z3-00000001dAr-29tO; Wed, 15 Apr 2026 09:54:05 -0600 From: Tom Tromey To: "Schimpe, Christina" Cc: Tom Tromey , "gdb-patches@sourceware.org" , "thiago.bauermann@linaro.org" Subject: Re: [PATCH v2 1/9] gdb: Generalize handling of the shadow stack pointer. In-Reply-To: (Christina Schimpe's message of "Wed, 15 Apr 2026 07:35:34 +0000") References: <20260123080532.878738-1-christina.schimpe@intel.com> <20260123080532.878738-2-christina.schimpe@intel.com> <87ecmg62k2.fsf@tromey.com> <87v7fit54d.fsf@tromey.com> <87se8xv436.fsf@tromey.com> X-Attribution: Tom Date: Wed, 15 Apr 2026 09:54:04 -0600 Message-ID: <871pggusmb.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: 1wD2Z3-00000001dAr-29tO X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-225-82.hlrn.qwest.net (bapiya) [75.166.225.82]:34452 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfOMmWzF9wepp9SeUItFr1k35mpdBOwIJ16CXK2eJQhk+0pOW6RBy9R1xT2Q1B56Ffqz7skx3UhEDFI3410i6k1l+A1CMITHMY8GsI8cAO7yTlrclZ7eb TgpYwyMBU8CTrLOKGbOYiQ45OSP9ZgY9t2rU8vX3UqI7wy9s8BJisFTr79SxvpORkXRqwGC5C8/DsfL6Nj/SCvDQqvGsnb+ORmU= 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 >>>>> Schimpe, Christina writes: >> 3. Maybe it might be used in the future and we don't want to >> hard-code the value and so it should be marked 'unused' >> in gdbarch_components.py > So based on that I'd go with option 3, do you agree ? It seems fine to me. > I could add a comment such as: > + # Currently unused but we wanted to keep this hook around, > + # since x86 32-bit shadow stacks would require a 4-byte offset, > + # for instance. But this is not supported yet by the Linux kernel > + # as x86 shadow stack for user space is only supported for amd64 > + # Linux starting with Linux kernel v6.6. > + unused=True, > I'd prefer the first comment, but keeping it short would be fine with me, too. I agree, sounds good. Thank you. Tom