aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
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
commitf88e2c522619b049d88e74bd535111cc17a270cd (patch)
treea3a5e2639c05fc4fb61881e747e18f7f80680063 /gdb/config
parent0981ead9af62fb19cb902ad00ff0ff0641cf9321 (diff)
downloadgdb-f88e2c522619b049d88e74bd535111cc17a270cd.zip
gdb-f88e2c522619b049d88e74bd535111cc17a270cd.tar.gz
gdb-f88e2c522619b049d88e74bd535111cc17a270cd.tar.bz2
Include regcache.h
Diffstat (limited to 'gdb/config')
-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
44 files changed, 80 insertions, 0 deletions
diff --git a/gdb/config/a29k/tm-a29k.h b/gdb/config/a29k/tm-a29k.h
index a4cff60..bfd6519 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 f0cc83c..34bd17c 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 b6c5ef9..60c0b80 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 030c5e5..93ba395 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 17e67fe..5df0454 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 57e8940..41494dd 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 3c4c41e..ab3ff6e 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 bcb1228..21127eb 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 445abbb..846401b 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 bc9444f..ef10a28 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 9613d8b..2f0d2da 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 e6381f5..f3a5ea0 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 80776b8..da9ed81 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 66c8677..e871499 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 bdb1c02..a60dd5a 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 3e7c21f..01212af 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 259f218..0251328 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 208522f..6bcf399 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 916ce84..ba40db7 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 b4de935..a38baea 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 979c8e4..bd0e904 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 ac20693..e2a5d5d 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 36e33c3..37424f0 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 9a1e395..d74eb80 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 c2b7fe3..786b6fb 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 3ae560a..447c9e7 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 339df61..8f17406 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 a2fbd53..f89838e 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 096e6f3..56c1f5e 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 22e8efc..a004123 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 044dcff..995e8e7 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 3da2511..4067ed3 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 2e87efa..e6fae89 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 2496f1e..5a2a014 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 8cc6d4b..653be85 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 0ae1fdc..914fb1e 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 dd3e8fe..51b5471 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 85150ae..02b9a1a 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 3c86f6b..5382718 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 0d4b1aa..71723f2 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 e01ee72..4d5cb2c 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 ec628b4..83e755e 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 2cbc32d..867844b 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 40d0196..57f9671 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