From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id RGxjOZoNl2qaeRsAWB0awg (envelope-from ) for ; Tue, 01 Sep 2026 13:38:34 -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=vEsDD9BW; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id D159F1E033; Tue, 01 Sep 2026 13:38:34 -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 [IPv6:2620:52:6:3111::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 278B61E033 for ; Tue, 01 Sep 2026 13:38:34 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6D6764BA23F4 for ; Tue, 1 Sep 2026 17:38:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6D6764BA23F4 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=vEsDD9BW Received: from omta38.uswest2.a.cloudfilter.net (omta38.uswest2.a.cloudfilter.net [35.89.44.37]) by sourceware.org (Postfix) with ESMTPS id 017654BA2E2B for ; Tue, 1 Sep 2026 17:38:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 017654BA2E2B 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 017654BA2E2B Authentication-Results: sourceware.org; arc=none smtp.remote-ip=35.89.44.37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1788284286; cv=none; b=tmzZ5cTkOe3b3xDyunEErJj1pwzDtiXIRjllFXCCs+YqO5BZLYF/gIZg36lpmPyDzWP7POhtjO0rwPBcQSLNFdq6lK9e92Czpd8I4OzRdwP864b9fLyWF0u9qohGVJvuYhi2G4yON8yn4s32f9WovYrrlw8QxzuEuJmuV1YwrcI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1788284286; c=relaxed/simple; bh=E0QNANkFDbJpf70Bwg2G/TjpZVx3OEIVFYuxvcbZQYE=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=RezyqSAubXrCQ8z7hNaMnYtm8dKHnV4BUacKGTlmuk8THvs1XWZUm8ESQMfajTt7mTdBlgkE/ALoAiMYlwfMLUP5ArWuY59i8Ki9HptzKi26S/HsvTXHzFSAABKVBWNgSNtgmv4Qfx4tSTwSwEbWO3AdfPNXSSV7PJk9R7AuMC0= 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=vEsDD9BW reason="signing key too small" DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 017654BA2E2B Received: from eig-obgw-5006b.ext.cloudfilter.net ([10.0.29.217]) by cmsmtp with ESMTPS id 1GbLx7pfDv0nd1SQuxzjUz; Tue, 01 Sep 2026 17:38:04 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id 1SQtxbKiA5NF31SQuxhdje; Tue, 01 Sep 2026 17:38:04 +0000 X-Authority-Analysis: v=2.4 cv=GaMXnRXL c=1 sm=1 tr=0 ts=6a970d7c a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=VdqzKS8jKosA:10 a=ItBw4LHWJt0A:10 a=ao7bWOVPEsASWhdkhC8A: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=JhC/dH2BuA0mBoJxWafZn24k8NHepTqludTYXHf6o48=; b=vEsDD9BWj9aPnU5jpytJpFKXqV nObfNalflT3FLHe1gYrmWrCT7gXe+ez1KqLvP0B3Pv86Tt7GycC5dNaEqwLSs36+eSKFYNxsU2JMh eBfwXSHd06jXOZYMqHSdMAIi0; Received: from 97-122-117-2.hlrn.qwest.net ([97.122.117.2]:60034 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.99.5) (envelope-from ) id 1x1SQt-00000003zCO-1Tb1; Tue, 01 Sep 2026 11:38:03 -0600 From: Tom Tromey To: Hannes Domani Cc: gdb-patches@sourceware.org Subject: Re: [PATCH v3 6/8] Windows gdb: Get available XState features In-Reply-To: <20260829145823.1034821-6-ssbssa@yahoo.de> (Hannes Domani's message of "Sat, 29 Aug 2026 16:49:03 +0200") References: <20260829145823.1034821-1-ssbssa@yahoo.de> <20260829145823.1034821-6-ssbssa@yahoo.de> X-Attribution: Tom Date: Tue, 01 Sep 2026 11:38:01 -0600 Message-ID: <875x0o7tza.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: 1x1SQt-00000003zCO-1Tb1 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-117-2.hlrn.qwest.net (bapiya) [97.122.117.2]:60034 X-Source-Auth: tom+tromey.com X-Email-Count: 4 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfAa5kwqT32ZSXUtQLkaHWjBNmhtwfBHk4/pgKGWYfBpNvWINt1vpI6qQIg9vjpfrjYy+zVc0dh56yRPWByGxNQAPvqza/ZjkmzAvHi0bxF+gpxAEjfUP zSznrDQGdZUQTkqo+fcXGSqczYZT5+X51w+ePBq84wBvAZa4CeufWRInJcwj4Df/cWFaOb3zxVfoLIrMbhvcHkuVgdJ/OuNfoUU= 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> Also prepares the thread context for the additional registers. Hannes> --- Hannes> v2: Hannes> - Remove PKRU from the implemented features mask Hannes> v3: Hannes> - use throw_winerror_with_name instead of error Hannes> - fix formatting and value of xstate_features Thanks. Hannes> + /* Available XState features masked with implemented features. */ Hannes> + xstate_features = (GetEnabledXStateFeatures () Hannes> + & X86_XSTATE_SSE_MASK); Hannes> + /* The extended XState functions are only needed if the available Hannes> + features exceed SSE. */ Hannes> + if ((xstate_features & ~X86_XSTATE_SSE_MASK) == 0) Hannes> + xstate_features = 0; Won't this condition always be true? Resulting in xstate_features==0 always? Tom