summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-03-14 23:23:16 +0000
committerAndrew Cagney <cagney@redhat.com>2001-03-14 23:23:16 +0000
commitffa03036da97b23b5c98e71c175d43ae76e54ae2 (patch)
tree3edcbed7d95eeece64180cbb5361ca73435e4e17 /gdb
parentf1bdbbda3cf8cc6ad290409c7ac17e90264840be (diff)
downloadgdb-ffa03036da97b23b5c98e71c175d43ae76e54ae2.tar.gz
Include regcache.h
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog48
-rw-r--r--gdb/config/a29k/tm-a29k.h2
-rw-r--r--gdb/config/a29k/tm-vx29k.h1
-rw-r--r--gdb/config/alpha/tm-alpha.h1
-rw-r--r--gdb/config/arc/tm-arc.h2
-rw-r--r--gdb/config/arm/tm-arm.h2
-rw-r--r--gdb/config/d30v/tm-d30v.h2
-rw-r--r--gdb/config/fr30/tm-fr30.h2
-rw-r--r--gdb/config/h8300/tm-h8300.h2
-rw-r--r--gdb/config/h8500/tm-h8500.h2
-rw-r--r--gdb/config/i386/nm-i386mach.h2
-rw-r--r--gdb/config/i386/nm-ptx4.h2
-rw-r--r--gdb/config/i386/nm-sun386.h2
-rw-r--r--gdb/config/i386/nm-symmetry.h2
-rw-r--r--gdb/config/i386/tm-i386.h2
-rw-r--r--gdb/config/i386/tm-i386v.h1
-rw-r--r--gdb/config/i386/tm-sun386.h1
-rw-r--r--gdb/config/i386/tm-symmetry.h2
-rw-r--r--gdb/config/m32r/tm-m32r.h2
-rw-r--r--gdb/config/m68k/nm-sun3.h2
-rw-r--r--gdb/config/m68k/tm-delta68.h2
-rw-r--r--gdb/config/m68k/tm-linux.h2
-rw-r--r--gdb/config/m68k/tm-m68k.h2
-rw-r--r--gdb/config/m68k/tm-news.h2
-rw-r--r--gdb/config/m88k/tm-m88k.h2
-rw-r--r--gdb/config/mcore/tm-mcore.h2
-rw-r--r--gdb/config/mips/tm-mips.h2
-rw-r--r--gdb/config/nm-gnu.h1
-rw-r--r--gdb/config/nm-m3.h1
-rw-r--r--gdb/config/ns32k/tm-merlin.h2
-rw-r--r--gdb/config/ns32k/tm-umax.h2
-rw-r--r--gdb/config/pa/nm-hppab.h1
-rw-r--r--gdb/config/pa/tm-hppa.h2
-rw-r--r--gdb/config/pa/tm-hppao.h2
-rw-r--r--gdb/config/powerpc/nm-solaris.h2
-rw-r--r--gdb/config/sparc/nm-nbsd.h2
-rw-r--r--gdb/config/sparc/nm-sun4os4.h2
-rw-r--r--gdb/config/sparc/nm-sun4sol2.h2
-rw-r--r--gdb/config/sparc/tm-sparc.h2
-rw-r--r--gdb/config/sparc/tm-sparclet.h2
-rw-r--r--gdb/config/sparc/tm-sparclite.h2
-rw-r--r--gdb/config/tic80/tm-tic80.h2
-rw-r--r--gdb/config/v850/tm-v850.h2
-rw-r--r--gdb/config/vax/tm-vax.h1
-rw-r--r--gdb/config/w65/tm-w65.h2
45 files changed, 128 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9e259f22b6c..c81e2cd6148 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,51 @@
+2001-03-13 Andrew Cagney <ac131313@redhat.com>
+
+ * config/mips/tm-mips.h: Include "regcache.h" for macros refering
+ to regcache functions.
+ * config/m68k/tm-m68k.h: Ditto.
+ * config/i386/tm-i386v.h: Ditto.
+ * config/mcore/tm-mcore.h: Ditto.
+ * config/m88k/tm-m88k.h: Ditto.
+ * config/m68k/tm-news.h: Ditto.
+ * config/m68k/tm-linux.h: Ditto.
+ * config/m68k/tm-delta68.h: Ditto.
+ * config/m68k/nm-sun3.h: Ditto.
+ * config/m32r/tm-m32r.h: Ditto.
+ * config/i386/tm-symmetry.h: Ditto.
+ * config/i386/tm-sun386.h: Ditto.
+ * config/i386/tm-i386.h: Ditto.
+ * config/i386/nm-symmetry.h: Ditto.
+ * config/i386/nm-sun386.h: Ditto.
+ * config/i386/nm-ptx4.h: Ditto.
+ * config/i386/nm-i386mach.h: Ditto.
+ * config/h8500/tm-h8500.h: Ditto.
+ * config/h8300/tm-h8300.h: Ditto.
+ * config/fr30/tm-fr30.h: Ditto.
+ * config/d30v/tm-d30v.h: Ditto.
+ * config/arm/tm-arm.h: Ditto.
+ * config/arc/tm-arc.h: Ditto.
+ * config/alpha/tm-alpha.h: Ditto.
+ * config/a29k/tm-vx29k.h: Ditto.
+ * config/a29k/tm-a29k.h: Ditto.
+ * config/w65/tm-w65.h: Ditto.
+ * config/vax/tm-vax.h: Ditto.
+ * config/v850/tm-v850.h: Ditto.
+ * config/tic80/tm-tic80.h: Ditto.
+ * config/sparc/tm-sparclite.h: Ditto.
+ * config/sparc/tm-sparclet.h: Ditto.
+ * config/sparc/tm-sparc.h: Ditto.
+ * config/sparc/nm-sun4sol2.h: Ditto.
+ * config/sparc/nm-sun4os4.h: Ditto.
+ * config/sparc/nm-nbsd.h: Ditto.
+ * config/powerpc/nm-solaris.h: Ditto.
+ * config/pa/tm-hppao.h: Ditto.
+ * config/pa/tm-hppa.h: Ditto.
+ * config/pa/nm-hppab.h: Ditto.
+ * config/ns32k/tm-umax.h: Ditto.
+ * config/ns32k/tm-merlin.h: Ditto.
+ * config/nm-m3.h: Ditto.
+ * config/nm-gnu.h: Ditto.
+
2001-03-14 Andrew Cagney <ac131313@redhat.com>
* MAINTAINERS: Update list of targets. Mark arm-* and v850-elf as
diff --git a/gdb/config/a29k/tm-a29k.h b/gdb/config/a29k/tm-a29k.h
index a4cff601643..bfd65191f28 100644
--- a/gdb/config/a29k/tm-a29k.h
+++ b/gdb/config/a29k/tm-a29k.h
@@ -20,6 +20,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
/* Parameters for an EB29K (a board which plugs into a PC and is
accessed through EBMON software running on the PC, which we
use as we'd use a remote stub (see remote-eb.c).
diff --git a/gdb/config/a29k/tm-vx29k.h b/gdb/config/a29k/tm-vx29k.h
index f0cc83c4874..34bd17c145f 100644
--- a/gdb/config/a29k/tm-vx29k.h
+++ b/gdb/config/a29k/tm-vx29k.h
@@ -19,6 +19,7 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
#include "a29k/tm-a29k.h"
#include "tm-vxworks.h"
diff --git a/gdb/config/alpha/tm-alpha.h b/gdb/config/alpha/tm-alpha.h
index b6c5ef955dc..60c0b80cf93 100644
--- a/gdb/config/alpha/tm-alpha.h
+++ b/gdb/config/alpha/tm-alpha.h
@@ -23,6 +23,7 @@
#ifndef TM_ALPHA_H
#define TM_ALPHA_H
+#include "regcache.h"
#include "bfd.h"
#include "coff/sym.h" /* Needed for PDR below. */
#include "coff/symconst.h"
diff --git a/gdb/config/arc/tm-arc.h b/gdb/config/arc/tm-arc.h
index 030c5e5b33e..93ba3952ecf 100644
--- a/gdb/config/arc/tm-arc.h
+++ b/gdb/config/arc/tm-arc.h
@@ -19,6 +19,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
/* Used by arc-tdep.c to set the default cpu type. */
#define DEFAULT_ARC_CPU_TYPE "base"
diff --git a/gdb/config/arm/tm-arm.h b/gdb/config/arm/tm-arm.h
index 17e67fe3c0e..5df0454941d 100644
--- a/gdb/config/arm/tm-arm.h
+++ b/gdb/config/arm/tm-arm.h
@@ -22,6 +22,8 @@
#ifndef TM_ARM_H
#define TM_ARM_H
+#include "regcache.h"
+
/* Forward declarations for prototypes. */
struct type;
struct value;
diff --git a/gdb/config/d30v/tm-d30v.h b/gdb/config/d30v/tm-d30v.h
index 57e89406991..41494dde853 100644
--- a/gdb/config/d30v/tm-d30v.h
+++ b/gdb/config/d30v/tm-d30v.h
@@ -21,6 +21,8 @@
#ifndef TM_D30V_H
#define TM_D30V_H
+#include "regcache.h"
+
/* Define the bit, byte, and word ordering of the machine. */
#define TARGET_BYTE_ORDER BIG_ENDIAN
diff --git a/gdb/config/fr30/tm-fr30.h b/gdb/config/fr30/tm-fr30.h
index 3c4c41e0519..ab3ff6e699a 100644
--- a/gdb/config/fr30/tm-fr30.h
+++ b/gdb/config/fr30/tm-fr30.h
@@ -18,6 +18,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
#define FR30_GENREGS 16
#define FR30_DEDICATEDREGS 8
#define FR30_REGSIZE 4 /* bytes */
diff --git a/gdb/config/h8300/tm-h8300.h b/gdb/config/h8300/tm-h8300.h
index bcb1228b5da..21127eb4173 100644
--- a/gdb/config/h8300/tm-h8300.h
+++ b/gdb/config/h8300/tm-h8300.h
@@ -19,6 +19,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
/* Contributed by Steve Chamberlain sac@cygnus.com */
struct frame_info;
diff --git a/gdb/config/h8500/tm-h8500.h b/gdb/config/h8500/tm-h8500.h
index 445abbbc86f..846401b30d0 100644
--- a/gdb/config/h8500/tm-h8500.h
+++ b/gdb/config/h8500/tm-h8500.h
@@ -19,6 +19,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
/* Contributed by Steve Chamberlain sac@cygnus.com */
#define GDB_TARGET_IS_H8500
diff --git a/gdb/config/i386/nm-i386mach.h b/gdb/config/i386/nm-i386mach.h
index bc9444f5469..ef10a28cf8f 100644
--- a/gdb/config/i386/nm-i386mach.h
+++ b/gdb/config/i386/nm-i386mach.h
@@ -19,6 +19,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
/* Do implement the attach and detach commands. */
/* #define ATTACH_DETACH 1 */
diff --git a/gdb/config/i386/nm-ptx4.h b/gdb/config/i386/nm-ptx4.h
index 9613d8ba21c..2f0d2da64ac 100644
--- a/gdb/config/i386/nm-ptx4.h
+++ b/gdb/config/i386/nm-ptx4.h
@@ -20,6 +20,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
#include "nm-sysv4.h"
#undef USE_PROC_FS
diff --git a/gdb/config/i386/nm-sun386.h b/gdb/config/i386/nm-sun386.h
index e6381f50ac4..f3a5ea043ec 100644
--- a/gdb/config/i386/nm-sun386.h
+++ b/gdb/config/i386/nm-sun386.h
@@ -18,6 +18,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
/* Do implement the attach and detach commands. */
#define ATTACH_DETACH
diff --git a/gdb/config/i386/nm-symmetry.h b/gdb/config/i386/nm-symmetry.h
index 80776b819bc..da9ed818c38 100644
--- a/gdb/config/i386/nm-symmetry.h
+++ b/gdb/config/i386/nm-symmetry.h
@@ -20,6 +20,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
/* Override copies of {fetch,store}_inferior_registers in infptrace.c. */
#define FETCH_INFERIOR_REGISTERS
diff --git a/gdb/config/i386/tm-i386.h b/gdb/config/i386/tm-i386.h
index 66c867703e7..e8714995ab5 100644
--- a/gdb/config/i386/tm-i386.h
+++ b/gdb/config/i386/tm-i386.h
@@ -22,6 +22,8 @@
#ifndef TM_I386_H
#define TM_I386_H 1
+#include "regcache.h"
+
/* Forward declarations for prototypes. */
struct frame_info;
struct frame_saved_regs;
diff --git a/gdb/config/i386/tm-i386v.h b/gdb/config/i386/tm-i386v.h
index bdb1c02aeed..a60dd5a8f70 100644
--- a/gdb/config/i386/tm-i386v.h
+++ b/gdb/config/i386/tm-i386v.h
@@ -24,6 +24,7 @@
/* First pick up the generic *86 target file. */
+#include "regcache.h"
#include "i386/tm-i386.h"
/* Number of traps that happen between exec'ing the shell to run an
diff --git a/gdb/config/i386/tm-sun386.h b/gdb/config/i386/tm-sun386.h
index 3e7c21f4c91..01212af8362 100644
--- a/gdb/config/i386/tm-sun386.h
+++ b/gdb/config/i386/tm-sun386.h
@@ -22,6 +22,7 @@
#if !defined (TM_SUN386_H)
#define TM_SUN386_H 1
+#include "regcache.h"
#include "i386/tm-i386.h"
#ifndef sun386
diff --git a/gdb/config/i386/tm-symmetry.h b/gdb/config/i386/tm-symmetry.h
index 259f218d796..0251328b3c1 100644
--- a/gdb/config/i386/tm-symmetry.h
+++ b/gdb/config/i386/tm-symmetry.h
@@ -24,6 +24,8 @@
#ifndef TM_SYMMETRY_H
#define TM_SYMMETRY_H 1
+#include "regcache.h"
+
/* I don't know if this will work for cross-debugging, even if you do get
a copy of the right include file. */
#include <machine/reg.h>
diff --git a/gdb/config/m32r/tm-m32r.h b/gdb/config/m32r/tm-m32r.h
index 208522f2cea..6bcf3995fcc 100644
--- a/gdb/config/m32r/tm-m32r.h
+++ b/gdb/config/m32r/tm-m32r.h
@@ -18,6 +18,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
/* Used by mswin. */
#define TARGET_M32R 1
diff --git a/gdb/config/m68k/nm-sun3.h b/gdb/config/m68k/nm-sun3.h
index 916ce8427a2..ba40db74b0b 100644
--- a/gdb/config/m68k/nm-sun3.h
+++ b/gdb/config/m68k/nm-sun3.h
@@ -19,6 +19,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
/* Do implement the attach and detach commands. */
#define ATTACH_DETACH
diff --git a/gdb/config/m68k/tm-delta68.h b/gdb/config/m68k/tm-delta68.h
index b4de935bee3..a38baea2020 100644
--- a/gdb/config/m68k/tm-delta68.h
+++ b/gdb/config/m68k/tm-delta68.h
@@ -18,6 +18,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
/* Define BPT_VECTOR if it is different than the default.
This is the vector number used by traps to indicate a breakpoint. */
diff --git a/gdb/config/m68k/tm-linux.h b/gdb/config/m68k/tm-linux.h
index 979c8e478c8..bd0e90467a4 100644
--- a/gdb/config/m68k/tm-linux.h
+++ b/gdb/config/m68k/tm-linux.h
@@ -18,6 +18,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
/* Number of traps that happen between exec'ing the shell to run an
inferior, and when we finally get to the inferior code. This is 2
on most implementations. */
diff --git a/gdb/config/m68k/tm-m68k.h b/gdb/config/m68k/tm-m68k.h
index ac20693ea20..e2a5d5dae26 100644
--- a/gdb/config/m68k/tm-m68k.h
+++ b/gdb/config/m68k/tm-m68k.h
@@ -19,6 +19,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
/* Generic 68000 stuff, to be included by other tm-*.h files. */
#define IEEE_FLOAT (1)
diff --git a/gdb/config/m68k/tm-news.h b/gdb/config/m68k/tm-news.h
index 36e33c34095..37424f05c5f 100644
--- a/gdb/config/m68k/tm-news.h
+++ b/gdb/config/m68k/tm-news.h
@@ -19,6 +19,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
/* See following cpu type determination macro to get the machine type.
Here is an m-news.h file for gdb. It supports the 68881 registers.
diff --git a/gdb/config/m88k/tm-m88k.h b/gdb/config/m88k/tm-m88k.h
index 9a1e395595b..d74eb80c795 100644
--- a/gdb/config/m88k/tm-m88k.h
+++ b/gdb/config/m88k/tm-m88k.h
@@ -20,6 +20,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
/* g++ support is not yet included. */
/* Define the bit, byte, and word ordering of the machine. */
diff --git a/gdb/config/mcore/tm-mcore.h b/gdb/config/mcore/tm-mcore.h
index c2b7fe350aa..786b6fbc82b 100644
--- a/gdb/config/mcore/tm-mcore.h
+++ b/gdb/config/mcore/tm-mcore.h
@@ -18,6 +18,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
/* The mcore is little endian (by default) */
#define TARGET_BYTE_ORDER_DEFAULT LITTLE_ENDIAN
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h
index 3ae560a4079..447c9e79012 100644
--- a/gdb/config/mips/tm-mips.h
+++ b/gdb/config/mips/tm-mips.h
@@ -27,6 +27,8 @@
#define GDB_MULTI_ARCH 1
+#include "regcache.h"
+
struct frame_info;
struct symbol;
struct type;
diff --git a/gdb/config/nm-gnu.h b/gdb/config/nm-gnu.h
index 339df614c79..8f17406abc2 100644
--- a/gdb/config/nm-gnu.h
+++ b/gdb/config/nm-gnu.h
@@ -25,6 +25,7 @@
#include <unistd.h>
#include <mach.h>
#include <mach/exception.h>
+#include "regcache.h"
extern char *gnu_target_pid_to_str (int pid);
diff --git a/gdb/config/nm-m3.h b/gdb/config/nm-m3.h
index a2fbd530ce9..f89838ed967 100644
--- a/gdb/config/nm-m3.h
+++ b/gdb/config/nm-m3.h
@@ -23,6 +23,7 @@
#define NM_M3_H
#include <mach.h>
+#include "regcache.h"
/* Mach3 doesn't declare errno in <errno.h>. */
extern int errno;
diff --git a/gdb/config/ns32k/tm-merlin.h b/gdb/config/ns32k/tm-merlin.h
index 096e6f3e283..56c1f5e1199 100644
--- a/gdb/config/ns32k/tm-merlin.h
+++ b/gdb/config/ns32k/tm-merlin.h
@@ -19,6 +19,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
#define TARGET_BYTE_ORDER LITTLE_ENDIAN
/* Offset from address of function to start of its code.
diff --git a/gdb/config/ns32k/tm-umax.h b/gdb/config/ns32k/tm-umax.h
index 22e8efc9549..a004123e883 100644
--- a/gdb/config/ns32k/tm-umax.h
+++ b/gdb/config/ns32k/tm-umax.h
@@ -19,6 +19,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
/* This is also included by tm-ns32km3.h, as well as being used by umax. */
#define TARGET_BYTE_ORDER LITTLE_ENDIAN
diff --git a/gdb/config/pa/nm-hppab.h b/gdb/config/pa/nm-hppab.h
index 044dcff3b61..995e8e773d5 100644
--- a/gdb/config/pa/nm-hppab.h
+++ b/gdb/config/pa/nm-hppab.h
@@ -19,6 +19,7 @@
Boston, MA 02111-1307, USA. */
#include "somsolib.h"
+#include "regcache.h"
#define U_REGS_OFFSET 0
diff --git a/gdb/config/pa/tm-hppa.h b/gdb/config/pa/tm-hppa.h
index 3da251107fb..4067ed3de9e 100644
--- a/gdb/config/pa/tm-hppa.h
+++ b/gdb/config/pa/tm-hppa.h
@@ -22,6 +22,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
/* Forward declarations of some types we use in prototypes */
struct frame_info;
diff --git a/gdb/config/pa/tm-hppao.h b/gdb/config/pa/tm-hppao.h
index 2e87efa9c45..e6fae89b85b 100644
--- a/gdb/config/pa/tm-hppao.h
+++ b/gdb/config/pa/tm-hppao.h
@@ -2,6 +2,8 @@
Contributed by the Center for Software Science at the
University of Utah (pa-gdb-bugs@cs.utah.edu). */
+#include "regcache.h"
+
/* Define offsets to access CPROC stack when it does not have
* a kernel thread.
*/
diff --git a/gdb/config/powerpc/nm-solaris.h b/gdb/config/powerpc/nm-solaris.h
index 2496f1ec6c0..5a2a014964e 100644
--- a/gdb/config/powerpc/nm-solaris.h
+++ b/gdb/config/powerpc/nm-solaris.h
@@ -18,6 +18,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
/* Include the generic SVR4 definitions. */
#include <nm-sysv4.h>
diff --git a/gdb/config/sparc/nm-nbsd.h b/gdb/config/sparc/nm-nbsd.h
index 8cc6d4bea6e..653be852d85 100644
--- a/gdb/config/sparc/nm-nbsd.h
+++ b/gdb/config/sparc/nm-nbsd.h
@@ -22,6 +22,8 @@
#ifndef NM_NBSD_H
#define NM_NBSD_H
+#include "regcache.h"
+
/* Get generic NetBSD native definitions. */
#include "config/nm-nbsd.h"
diff --git a/gdb/config/sparc/nm-sun4os4.h b/gdb/config/sparc/nm-sun4os4.h
index 0ae1fdc86d4..914fb1e76ad 100644
--- a/gdb/config/sparc/nm-sun4os4.h
+++ b/gdb/config/sparc/nm-sun4os4.h
@@ -18,6 +18,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
/* Do implement the attach and detach commands. */
#define ATTACH_DETACH
diff --git a/gdb/config/sparc/nm-sun4sol2.h b/gdb/config/sparc/nm-sun4sol2.h
index dd3e8fed57a..51b547169fe 100644
--- a/gdb/config/sparc/nm-sun4sol2.h
+++ b/gdb/config/sparc/nm-sun4sol2.h
@@ -18,6 +18,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
/* Include the generic SVR4 definitions. */
#include <nm-sysv4.h>
diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h
index 85150aeb306..02b9a1a1d3e 100644
--- a/gdb/config/sparc/tm-sparc.h
+++ b/gdb/config/sparc/tm-sparc.h
@@ -22,6 +22,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
struct type;
struct value;
struct frame_info;
diff --git a/gdb/config/sparc/tm-sparclet.h b/gdb/config/sparc/tm-sparclet.h
index 3c86f6b16a7..5382718660e 100644
--- a/gdb/config/sparc/tm-sparclet.h
+++ b/gdb/config/sparc/tm-sparclet.h
@@ -18,6 +18,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
#define TARGET_SPARCLET 1 /* Still needed for non-multi-arch case */
#include "sparc/tm-sparc.h"
diff --git a/gdb/config/sparc/tm-sparclite.h b/gdb/config/sparc/tm-sparclite.h
index 0d4b1aafd8d..71723f2963a 100644
--- a/gdb/config/sparc/tm-sparclite.h
+++ b/gdb/config/sparc/tm-sparclite.h
@@ -19,6 +19,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
#define TARGET_SPARCLITE 1 /* Still needed for non-multi-arch case */
#include "sparc/tm-sparc.h"
diff --git a/gdb/config/tic80/tm-tic80.h b/gdb/config/tic80/tm-tic80.h
index e01ee7224e4..4d5cb2ce034 100644
--- a/gdb/config/tic80/tm-tic80.h
+++ b/gdb/config/tic80/tm-tic80.h
@@ -22,6 +22,8 @@
#ifndef TM_TIC80_H
#define TM_TIC80_H
+#include "regcache.h"
+
/* Forward declare structs used in prototypes */
struct frame_info;
struct type;
diff --git a/gdb/config/v850/tm-v850.h b/gdb/config/v850/tm-v850.h
index ec628b48f15..83e755edaaa 100644
--- a/gdb/config/v850/tm-v850.h
+++ b/gdb/config/v850/tm-v850.h
@@ -19,6 +19,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
#define TARGET_BYTE_ORDER LITTLE_ENDIAN
#define NUM_REGS 66
diff --git a/gdb/config/vax/tm-vax.h b/gdb/config/vax/tm-vax.h
index 2cbc32d5848..867844bc7c6 100644
--- a/gdb/config/vax/tm-vax.h
+++ b/gdb/config/vax/tm-vax.h
@@ -19,6 +19,7 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
#define TARGET_BYTE_ORDER LITTLE_ENDIAN
diff --git a/gdb/config/w65/tm-w65.h b/gdb/config/w65/tm-w65.h
index 40d019693ff..57f96711975 100644
--- a/gdb/config/w65/tm-w65.h
+++ b/gdb/config/w65/tm-w65.h
@@ -18,6 +18,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "regcache.h"
+
/* Contributed by Steve Chamberlain sac@cygnus.com */
#define GDB_TARGET_IS_W65