Remove block.h includes from some tdep files
authorTom Tromey <tom@tromey.com>
Sat, 21 Jan 2023 21:00:12 +0000 (14:00 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 8 Feb 2023 17:58:14 +0000 (10:58 -0700)
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
gdb/amd64-tdep.c
gdb/mips-sde-tdep.c
gdb/or1k-tdep.c
gdb/riscv-tdep.c

index eaf32feab75523461a57380c988f1cba00a10220..14f5a0492d3d08e2fe69a40964983aa5ee3cd6d5 100644 (file)
@@ -35,7 +35,6 @@
 #include "reggroups.h"
 #include "arch-utils.h"
 #include "osabi.h"
-#include "block.h"
 #include "infcall.h"
 #include "trad-frame.h"
 
index 70d0d0f33183f2622fca591726ccc6dfa4ebf15a..328e001f5bb1ccdfaeab5d7abc6cd876b44565fb 100644 (file)
@@ -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"
index 79568c46500bc6565e7237048bebf074018fd389..b921d84131be9d8ed08d5c68af5ff974ddadbb66 100644 (file)
@@ -20,7 +20,6 @@
 #include "defs.h"
 #include "osabi.h"
 #include "elf-bfd.h"
-#include "block.h"
 #include "symtab.h"
 
 #include "frame.h"
index 899545662837f2bccaef6f7f90ab4424f502af46..3616d7751caa21a56222d6a53bf345040929343d 100644 (file)
@@ -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"
index 6e5e8fb87a05f9931d10dd414273df41cc885c55..60de60382c81e9c4d8d7bebd3286d3e8a7c074ce 100644 (file)
@@ -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"