From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by sourceware.org (Postfix) with ESMTPS id D55393858C5E for ; Wed, 17 May 2023 19:14:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D55393858C5E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4f2510b2b98so1376877e87.3 for ; Wed, 17 May 2023 12:14:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684350880; x=1686942880; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=eOnoHkYxHv7fF44ZeE4O+2X9ErpyjFQXbKn/jsenADE=; b=eva2oQOBIYzA6FaVRcFEd3hjb/0KfrUCYFPJXlFO3NUw7ttVwcEgECoTmU3bl6Xwgr dIfjl8Du1C/HBuRe7pH+6dN2f5f97ZNpQclJWH1vcwuVbB69LRV6Bm6nviQmWRdFDHHp WDEjQKJFyW+hZV4tWlPFNn0yCSU6DM1KD1z7vtPixJUwtD0VdcHzgzFhSeIZ1d8goz0Z gwNjfg2L9PzFsNOqYMQRRHHixh08znQTffPbusX/4eUvKd6hzYAHk2gK5SN1Wtj0ELAB KqGzq6mLeILsl3hgYXbwH1aYY4v4tWi3oLxHmoeaQDQC+4HlSmHxoWXDG7cgm0VLDlYV O1pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684350880; x=1686942880; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eOnoHkYxHv7fF44ZeE4O+2X9ErpyjFQXbKn/jsenADE=; b=W/J+KCZnidbGfwVmGUhAietPOnIaW5AgBAPGH7foD23ck9ZotQazleaoaEQUVkDLCR cntVEqEcleH0ZL8GZ+NbP43ycpZEhDFpkoZUfjF7BFm6H5CFIkohk/RP9L/Ni8dkj1V0 WffMHBuaPWpj00NaY8CGaYQHcj5JQaSmcF61aSfhowkCdh2bOhaPxrcez47CrIzXxvtO 5VjapUTl3/LScWrSAVrijVVftI411AZv0UBaZxlqJiENM2Q2ygQll35xxKxOqRmMEEuM YqIsLgs0vFu2wLu3H1TT6OMzygDEs/IRUdTb/ONiuRFAp+pSMJcDD+bnyf7paiLMKdtD LhyQ== X-Gm-Message-State: AC+VfDwt8c8sJOpbaLwTvBx3pGhnP415X1VKIkriKIEL6cW4dw3yBlZi vAOuoZgUn23vG9/VtJ1YaXb0qaySiPI= X-Google-Smtp-Source: ACHHUZ4vKs1ESjpbFoeJl6vYnVk5Vfh9XGJTS4AbSD7o52vAJt78TchznrKzwdUJs+zoA3ErFAqkgg== X-Received: by 2002:ac2:43b2:0:b0:4dd:cb1d:b3cc with SMTP id t18-20020ac243b2000000b004ddcb1db3ccmr497233lfl.11.1684350879853; Wed, 17 May 2023 12:14:39 -0700 (PDT) Received: from surface-pro-6.. ([194.190.106.50]) by smtp.gmail.com with ESMTPSA id o18-20020ac24352000000b004eed8de597csm3415744lfl.32.2023.05.17.12.14.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 12:14:38 -0700 (PDT) From: Sergey Bugaev To: libc-alpha@sourceware.org, bug-hurd@gnu.org Subject: [PATCH 01/10] Remove sysdeps/generic/thread_state.h Date: Wed, 17 May 2023 22:14:27 +0300 Message-Id: <20230517191436.73636-2-bugaevc@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230517191436.73636-1-bugaevc@gmail.com> References: <20230517191436.73636-1-bugaevc@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: This is a Mach-specific thread state definitions, and it's already handled by sysdeps/mach/thread_state.h. Signed-off-by: Sergey Bugaev --- sysdeps/generic/thread_state.h | 51 ---------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 sysdeps/generic/thread_state.h diff --git a/sysdeps/generic/thread_state.h b/sysdeps/generic/thread_state.h deleted file mode 100644 index 18926efb..00000000 --- a/sysdeps/generic/thread_state.h +++ /dev/null @@ -1,51 +0,0 @@ -/* Mach thread state definitions for machine-independent code. Stub version. - Copyright (C) 1994-2023 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - . */ - -/* Everything else is called `thread_state', but CMU's header file is - called `thread_status'. Oh boy. */ -#include - -/* Replace with "i386" or "mips" or whatever. */ - -/* This lets the kernel define architecture-specific registers for a new - thread. */ -#define MACHINE_NEW_THREAD_STATE_FLAVOR _NEW_THREAD_STATE -/* This makes the kernel load all architectures-specific registers for the - thread. */ -#define MACHINE_THREAD_STATE_FLAVOR _THREAD_STATE -#define MACHINE_THREAD_STATE_COUNT _THREAD_STATE_COUNT - -#define machine_thread_state _thread_state - -/* Define these to the member names in `struct _thread_state' - for the PC and stack pointer. */ -#define PC ? -#define SP ? - -/* This structure should contain all of the different flavors of thread - state structures which are meaningful for this machine. Every machine's - definition of this structure should have a member `int set' which is a - bit mask (1 << FLAVOR) of the flavors of thread state in the structure - which are filled in; and a member `struct machine_thread_state basic'. - On some machines those are the only members (e.g. i386); on others, - there are several relevant flavors of thread state (e.g. mips). */ -struct machine_thread_all_state - { - int set; /* Mask of bits (1 << FLAVOR). */ - struct _thread_state basic; - }; -- 2.40.1