aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-21 14:00:12 -0700
committerTom Tromey <tom@tromey.com>2023-02-08 10:58:14 -0700
commitdcee6fb39812ace0df59b8d0dd43cd41d2f02e54 (patch)
tree0c40dc127d150bb65f8b58643c4b66b4ddba97b3
parent0671cc8b19d5b96f448a0a487cf12fe772df08fb (diff)
downloadgdb-dcee6fb39812ace0df59b8d0dd43cd41d2f02e54.zip
gdb-dcee6fb39812ace0df59b8d0dd43cd41d2f02e54.tar.gz
gdb-dcee6fb39812ace0df59b8d0dd43cd41d2f02e54.tar.bz2
Remove block.h includes from some tdep files
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.
-rw-r--r--gdb/alpha-tdep.c1
-rw-r--r--gdb/amd64-tdep.c1
-rw-r--r--gdb/mips-sde-tdep.c1
-rw-r--r--gdb/or1k-tdep.c1
-rw-r--r--gdb/riscv-tdep.c1
5 files changed, 0 insertions, 5 deletions
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index eaf32fe..14f5a04 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 70d0d0f..328e001 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 79568c4..b921d84 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 8995456..3616d77 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 6e5e8fb..60de603 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"