From patchwork Sat Jan 21 21:09:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 63555 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id CEBFA3858404 for ; Sat, 21 Jan 2023 21:10:15 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from gproxy1-pub.mail.unifiedlayer.com (gproxy1-pub.mail.unifiedlayer.com [69.89.25.95]) by sourceware.org (Postfix) with ESMTPS id 7A2313858D33 for ; Sat, 21 Jan 2023 21:10:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7A2313858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com Received: from cmgw11.mail.unifiedlayer.com (unknown [10.0.90.126]) by progateway3.mail.pro1.eigbox.com (Postfix) with ESMTP id D7A6E10046FF7 for ; Sat, 21 Jan 2023 21:09:59 +0000 (UTC) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTP id JL7fp0x6dJceRJL7fp44fn; Sat, 21 Jan 2023 21:09:59 +0000 X-Authority-Reason: nr=8 X-Authority-Analysis: v=2.4 cv=Or6Kdwzt c=1 sm=1 tr=0 ts=63cc54a7 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=RvmDmJFTN0MA:10:nop_rcvd_month_year a=Qbun_eYptAEA:10:endurance_base64_authed_username_1 a=aHbiO797GU5XYGLIJj0A:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: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=Q9cx7lZ/AKa2LGyX9W1xGhF5uaVKLMn3nmSY6/MwKg8=; b=XDOWnBzjkQFCk1zbdBjeKS/sTw OB5grSOvnSSYzaRYckYRxaj6dDrMDs50Kb11qK4mScBjwkpjwto2xKwmFf5skBGXv5L13SR/G2hvL uPcwNPBvSGqpTwhpVa1xVtY8W; Received: from [161.98.8.3] (port=57916 helo=prentzel.ci.boulder.co.us) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1pJL7f-002Vd5-J9; Sat, 21 Jan 2023 14:09:59 -0700 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH 2/2] Remove block.h includes from some tdep files Date: Sat, 21 Jan 2023 14:09:54 -0700 Message-Id: <20230121210954.3284323-3-tom@tromey.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230121210954.3284323-1-tom@tromey.com> References: <20230121210954.3284323-1-tom@tromey.com> MIME-Version: 1.0 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: 161.98.8.3 X-Source-L: No X-Exim-ID: 1pJL7f-002Vd5-J9 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (prentzel.ci.boulder.co.us) [161.98.8.3]:57916 X-Source-Auth: tom+tromey.com X-Email-Count: 3 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-Spam-Status: No, score=-3027.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, JMQ_SPF_NEUTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" A few tdep files include block.h but do not need to. This patch removes the inclusions. I checked that this worked correctly by examining the resulting .Po file to make sure that block.h was not being included by some other route. --- gdb/alpha-tdep.c | 1 - gdb/amd64-tdep.c | 1 - gdb/mips-sde-tdep.c | 1 - gdb/or1k-tdep.c | 1 - gdb/riscv-tdep.c | 1 - 5 files changed, 5 deletions(-) diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c index eaf32feab75..14f5a0492d3 100644 --- a/gdb/alpha-tdep.c +++ b/gdb/alpha-tdep.c @@ -35,7 +35,6 @@ #include "reggroups.h" #include "arch-utils.h" #include "osabi.h" -#include "block.h" #include "infcall.h" #include "trad-frame.h" diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c index 70d0d0f3318..328e001f5bb 100644 --- a/gdb/amd64-tdep.c +++ b/gdb/amd64-tdep.c @@ -24,7 +24,6 @@ #include "opcode/i386.h" #include "dis-asm.h" #include "arch-utils.h" -#include "block.h" #include "dummy-frame.h" #include "frame.h" #include "frame-base.h" diff --git a/gdb/mips-sde-tdep.c b/gdb/mips-sde-tdep.c index 79568c46500..b921d84131b 100644 --- a/gdb/mips-sde-tdep.c +++ b/gdb/mips-sde-tdep.c @@ -20,7 +20,6 @@ #include "defs.h" #include "osabi.h" #include "elf-bfd.h" -#include "block.h" #include "symtab.h" #include "frame.h" diff --git a/gdb/or1k-tdep.c b/gdb/or1k-tdep.c index 89954566283..3616d7751ca 100644 --- a/gdb/or1k-tdep.c +++ b/gdb/or1k-tdep.c @@ -30,7 +30,6 @@ #include "target.h" #include "regcache.h" #include "safe-ctype.h" -#include "block.h" #include "reggroups.h" #include "arch-utils.h" #include "frame-unwind.h" diff --git a/gdb/riscv-tdep.c b/gdb/riscv-tdep.c index 6e5e8fb87a0..60de60382c8 100644 --- a/gdb/riscv-tdep.c +++ b/gdb/riscv-tdep.c @@ -33,7 +33,6 @@ #include "regcache.h" #include "osabi.h" #include "riscv-tdep.h" -#include "block.h" #include "reggroups.h" #include "opcode/riscv.h" #include "elf/riscv.h"