From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id EeDZNPZirGoJWxgAWB0awg (envelope-from ) for ; Thu, 17 Sep 2026 18:00:22 -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=J5FGHIv4; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id C74431E051; Thu, 17 Sep 2026 18:00:22 -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 4BF491E051 for ; Thu, 17 Sep 2026 18:00:21 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A95F64BAE7C0 for ; Thu, 17 Sep 2026 22:00:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A95F64BAE7C0 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=J5FGHIv4 Received: from omta38.uswest2.a.cloudfilter.net (omta38.uswest2.a.cloudfilter.net [35.89.44.37]) by sourceware.org (Postfix) with ESMTPS id 68B544BA23F5 for ; Thu, 17 Sep 2026 21:59:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 68B544BA23F5 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 68B544BA23F5 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=1789682394; cv=none; b=KlT5Eca0vmV2vG5/lnc8DGABXbq3y8jnC1JJdG2sB2jo9S5RDauTUxIQEDTACoV0Kl3iqFfGISmeGB7CxJpaGD1pT6orzUHSQ5ZZ4ds827tr1klnz93g/YBmvKQ1G1jd+Qncr4pUVa07UdvDtQxK1lUi1/4RcvBemqgmWLoTh0Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1789682394; c=relaxed/simple; bh=YO6ig9AxfoF3KqHClltIb4MELt9NDTMPVHSQdVtdUqo=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=SIG6CM7qboaGyb2YjgOhyV9oCUbmTn+9JOGfJAQa2J3v1or/Eev7RdhhwYrWngdtonp/mX4X/EAye8VOfJsZaFFdDy/SOayqYYH5ldlzNArzfUGyGdeT+e5JigKt8hadRpF20Fr9v6UcmvAAi7n8ZKVdw6NqctHRih7FRhrNnFo= 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=J5FGHIv4 reason="signing key too small" DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 68B544BA23F5 Received: from eig-obgw-6004b.ext.cloudfilter.net ([10.0.30.210]) by cmsmtp with ESMTPS id 7IKkxHUkXv0nd7K92x9CQ9; Thu, 17 Sep 2026 21:59:52 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id 7K91xqnh9IRv97K92x5HCe; Thu, 17 Sep 2026 21:59:52 +0000 X-Authority-Analysis: v=2.4 cv=GIUIEvNK c=1 sm=1 tr=0 ts=6aac62d8 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=VdqzKS8jKosA:10 a=ItBw4LHWJt0A:10 a=F319ASByQBaLP4W8ZZYA: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-Unsubscribe-Post: List-Subscribe:List-Post:List-Owner:List-Archive; bh=U3ui8tc/0pfD3Y+xefW48J92HbpwJPlbutSdHSWhbYI=; b=J5FGHIv4alI+cmxNt6qrG3QDI9 KSkIriu89YHGMGSUBZ0XFzTXWzPoM+L1qReoQwWvxMqVjnV9O3p4tdjyZpbn5IF0W8kYMNNfly/fJ t8PLHcIPSt8I2QVFNGRi3HzcY; Received: from 75-166-229-74.hlrn.qwest.net ([75.166.229.74]:58808 helo=prentzel) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.100) (envelope-from ) id 1x7K91-00000001cZ1-2sKG; Thu, 17 Sep 2026 15:59:51 -0600 From: Tom Tromey To: Tom Tromey Cc: Tom de Vries , gdb-patches@sourceware.org Subject: Re: [PATCH 2/2] [gdb] Exclude unavailable hardware threads in default worker-threads In-Reply-To: <87h5jo680u.fsf@tromey.com> (Tom Tromey's message of "Wed, 16 Sep 2026 18:22:57 -0600") References: <20260906154838.139837-1-tdevries@suse.de> <20260906154838.139837-2-tdevries@suse.de> <87h5jo680u.fsf@tromey.com> X-Attribution: Tom Date: Thu, 17 Sep 2026 15:59:49 -0600 Message-ID: <87cxub5yju.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.229.74 X-Source-L: No X-Exim-ID: 1x7K91-00000001cZ1-2sKG X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-229-74.hlrn.qwest.net (prentzel) [75.166.229.74]:58808 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: MS4xfLEGVrZnF8x6M54Kw400cTsocFpT9rpk8SbP32bQK+4yy+mRzw3/VhIX2tKXzYhez9vjsvV/jVsClvLluUK96VnDMd7rlgkSwVuXm5DMohPuCXscG2KV Eg//FdGxTcMuMXIr9h0tdhsp5zsjAueK2DF9GoL0I8vAtZqGQDUGB655U11zaOndkIGkZcMae+lXt8Yv62JcEyx4QWRnZE/Zkhk= 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 Tom> +#ifdef __linux__ Tom> +#include Tom> +#endif > The autoconf wisdom is to do feature checks, not platform checks, a > style that's generally used in gdb. And you can see the result here, > where the above turned into > +#if defined (__linux__) || defined (__CYGWIN__) I forgot something here, which is that nowadays we can use __has_include rather than an autoconf check. Tom