This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[rfc] Include "regcache.h" in {nm,tm,xm]-*.h files
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: [rfc] Include "regcache.h" in {nm,tm,xm]-*.h files
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Tue, 13 Mar 2001 18:58:18 -0500
Hello,
The attatched patch explicitly includes "regcache.h" into any
{nm,tm,xm]-*.h file that has a reference to one of the
functions/variables declared in regcache.h.
This is so that I'm 100% certain that moving declaration to regcache.h
didn't some how break a target. As they say, it is brutal but it works.
Andrew
2001-03-13 Andrew Cagney <ac131313@redhat.com>
* config/mips/tm-mips.h: Include "regcache.h" for macros refering
to regcache functions.
* 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.
Index: config/nm-gnu.h
===================================================================
RCS file: /cvs/src/src/gdb/config/nm-gnu.h,v
retrieving revision 1.2
diff -p -r1.2 nm-gnu.h
*** nm-gnu.h 2001/03/06 08:21:20 1.2
--- nm-gnu.h 2001/03/13 23:55:11
***************
*** 25,30 ****
--- 25,31 ----
#include <unistd.h>
#include <mach.h>
#include <mach/exception.h>
+ #include "regcache.h"
extern char *gnu_target_pid_to_str (int pid);
Index: config/nm-m3.h
===================================================================
RCS file: /cvs/src/src/gdb/config/nm-m3.h,v
retrieving revision 1.2
diff -p -r1.2 nm-m3.h
*** nm-m3.h 2001/03/06 08:21:20 1.2
--- nm-m3.h 2001/03/13 23:55:11
***************
*** 23,28 ****
--- 23,29 ----
#define NM_M3_H
#include <mach.h>
+ #include "regcache.h"
/* Mach3 doesn't declare errno in <errno.h>. */
extern int errno;
Index: config/a29k/tm-a29k.h
===================================================================
RCS file: /cvs/src/src/gdb/config/a29k/tm-a29k.h,v
retrieving revision 1.4
diff -p -r1.4 tm-a29k.h
*** tm-a29k.h 2001/03/06 08:21:20 1.4
--- tm-a29k.h 2001/03/13 23:55:11
***************
*** 20,25 ****
--- 20,27 ----
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).
Index: config/a29k/tm-vx29k.h
===================================================================
RCS file: /cvs/src/src/gdb/config/a29k/tm-vx29k.h,v
retrieving revision 1.3
diff -p -r1.3 tm-vx29k.h
*** tm-vx29k.h 2001/03/06 08:21:20 1.3
--- tm-vx29k.h 2001/03/13 23:55:12
***************
*** 19,24 ****
--- 19,25 ----
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #include "regcache.h"
#include "a29k/tm-a29k.h"
#include "tm-vxworks.h"
Index: config/alpha/tm-alpha.h
===================================================================
RCS file: /cvs/src/src/gdb/config/alpha/tm-alpha.h,v
retrieving revision 1.5
diff -p -r1.5 tm-alpha.h
*** tm-alpha.h 2001/03/06 08:21:21 1.5
--- tm-alpha.h 2001/03/13 23:55:12
***************
*** 23,28 ****
--- 23,29 ----
#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"
Index: config/arc/tm-arc.h
===================================================================
RCS file: /cvs/src/src/gdb/config/arc/tm-arc.h,v
retrieving revision 1.4
diff -p -r1.4 tm-arc.h
*** tm-arc.h 2001/03/06 08:21:21 1.4
--- tm-arc.h 2001/03/13 23:55:12
***************
*** 19,24 ****
--- 19,26 ----
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"
Index: config/arm/tm-arm.h
===================================================================
RCS file: /cvs/src/src/gdb/config/arm/tm-arm.h,v
retrieving revision 1.5
diff -p -r1.5 tm-arm.h
*** tm-arm.h 2001/03/06 08:21:21 1.5
--- tm-arm.h 2001/03/13 23:55:12
***************
*** 22,27 ****
--- 22,29 ----
#ifndef TM_ARM_H
#define TM_ARM_H
+ #include "regcache.h"
+
/* Forward declarations for prototypes. */
struct type;
struct value;
Index: config/d30v/tm-d30v.h
===================================================================
RCS file: /cvs/src/src/gdb/config/d30v/tm-d30v.h,v
retrieving revision 1.3
diff -p -r1.3 tm-d30v.h
*** tm-d30v.h 2001/03/06 08:21:25 1.3
--- tm-d30v.h 2001/03/13 23:55:13
***************
*** 21,26 ****
--- 21,28 ----
#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
Index: config/fr30/tm-fr30.h
===================================================================
RCS file: /cvs/src/src/gdb/config/fr30/tm-fr30.h,v
retrieving revision 1.5
diff -p -r1.5 tm-fr30.h
*** tm-fr30.h 2001/03/06 08:21:26 1.5
--- tm-fr30.h 2001/03/13 23:55:13
***************
*** 18,23 ****
--- 18,25 ----
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 */
Index: config/h8300/tm-h8300.h
===================================================================
RCS file: /cvs/src/src/gdb/config/h8300/tm-h8300.h,v
retrieving revision 1.5
diff -p -r1.5 tm-h8300.h
*** tm-h8300.h 2001/03/06 08:21:26 1.5
--- tm-h8300.h 2001/03/13 23:55:13
***************
*** 19,24 ****
--- 19,26 ----
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;
Index: config/h8500/tm-h8500.h
===================================================================
RCS file: /cvs/src/src/gdb/config/h8500/tm-h8500.h,v
retrieving revision 1.5
diff -p -r1.5 tm-h8500.h
*** tm-h8500.h 2001/03/06 08:21:27 1.5
--- tm-h8500.h 2001/03/13 23:55:13
***************
*** 19,24 ****
--- 19,26 ----
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
Index: config/i386/nm-i386mach.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nm-i386mach.h,v
retrieving revision 1.2
diff -p -r1.2 nm-i386mach.h
*** nm-i386mach.h 2001/03/06 08:21:28 1.2
--- nm-i386mach.h 2001/03/13 23:55:13
***************
*** 19,24 ****
--- 19,26 ----
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 */
Index: config/i386/nm-ptx4.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nm-ptx4.h,v
retrieving revision 1.3
diff -p -r1.3 nm-ptx4.h
*** nm-ptx4.h 2001/03/06 08:21:28 1.3
--- nm-ptx4.h 2001/03/13 23:55:13
***************
*** 20,25 ****
--- 20,27 ----
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #include "regcache.h"
+
#include "nm-sysv4.h"
#undef USE_PROC_FS
Index: config/i386/nm-sun386.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nm-sun386.h,v
retrieving revision 1.2
diff -p -r1.2 nm-sun386.h
*** nm-sun386.h 2001/03/06 08:21:28 1.2
--- nm-sun386.h 2001/03/13 23:55:13
***************
*** 18,23 ****
--- 18,25 ----
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
Index: config/i386/nm-symmetry.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nm-symmetry.h,v
retrieving revision 1.3
diff -p -r1.3 nm-symmetry.h
*** nm-symmetry.h 2001/03/06 08:21:28 1.3
--- nm-symmetry.h 2001/03/13 23:55:13
***************
*** 20,25 ****
--- 20,27 ----
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
Index: config/i386/tm-i386.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/tm-i386.h,v
retrieving revision 1.11
diff -p -r1.11 tm-i386.h
*** tm-i386.h 2001/03/06 08:21:28 1.11
--- tm-i386.h 2001/03/13 23:55:13
***************
*** 22,27 ****
--- 22,29 ----
#ifndef TM_I386_H
#define TM_I386_H 1
+ #include "regcache.h"
+
/* Forward declarations for prototypes. */
struct frame_info;
struct frame_saved_regs;
Index: config/i386/tm-sun386.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/tm-sun386.h,v
retrieving revision 1.3
diff -p -r1.3 tm-sun386.h
*** tm-sun386.h 2001/03/06 08:21:29 1.3
--- tm-sun386.h 2001/03/13 23:55:13
***************
*** 22,27 ****
--- 22,28 ----
#if !defined (TM_SUN386_H)
#define TM_SUN386_H 1
+ #include "regcache.h"
#include "i386/tm-i386.h"
#ifndef sun386
Index: config/i386/tm-symmetry.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/tm-symmetry.h,v
retrieving revision 1.2
diff -p -r1.2 tm-symmetry.h
*** tm-symmetry.h 2001/03/06 08:21:29 1.2
--- tm-symmetry.h 2001/03/13 23:55:13
***************
*** 24,29 ****
--- 24,31 ----
#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>
Index: config/m32r/tm-m32r.h
===================================================================
RCS file: /cvs/src/src/gdb/config/m32r/tm-m32r.h,v
retrieving revision 1.3
diff -p -r1.3 tm-m32r.h
*** tm-m32r.h 2000/05/28 01:12:36 1.3
--- tm-m32r.h 2001/03/13 23:55:14
***************
*** 18,23 ****
--- 18,25 ----
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #include "regcache.h"
+
/* Used by mswin. */
#define TARGET_M32R 1
Index: config/m68k/nm-sun3.h
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/nm-sun3.h,v
retrieving revision 1.2
diff -p -r1.2 nm-sun3.h
*** nm-sun3.h 2001/03/06 08:21:30 1.2
--- nm-sun3.h 2001/03/13 23:55:14
***************
*** 19,24 ****
--- 19,26 ----
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
Index: config/m68k/tm-delta68.h
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/tm-delta68.h,v
retrieving revision 1.4
diff -p -r1.4 tm-delta68.h
*** tm-delta68.h 2000/05/28 01:12:36 1.4
--- tm-delta68.h 2001/03/13 23:55:14
***************
*** 18,23 ****
--- 18,25 ----
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. */
Index: config/m68k/tm-linux.h
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/tm-linux.h,v
retrieving revision 1.4
diff -p -r1.4 tm-linux.h
*** tm-linux.h 2001/03/06 08:21:30 1.4
--- tm-linux.h 2001/03/13 23:55:14
***************
*** 18,23 ****
--- 18,25 ----
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. */
Index: config/m68k/tm-news.h
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/tm-news.h,v
retrieving revision 1.3
diff -p -r1.3 tm-news.h
*** tm-news.h 2001/03/06 08:21:30 1.3
--- tm-news.h 2001/03/13 23:55:14
***************
*** 19,24 ****
--- 19,26 ----
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.
Index: config/m88k/tm-m88k.h
===================================================================
RCS file: /cvs/src/src/gdb/config/m88k/tm-m88k.h,v
retrieving revision 1.4
diff -p -r1.4 tm-m88k.h
*** tm-m88k.h 2001/03/06 08:21:31 1.4
--- tm-m88k.h 2001/03/13 23:55:14
***************
*** 20,25 ****
--- 20,27 ----
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. */
Index: config/mcore/tm-mcore.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mcore/tm-mcore.h,v
retrieving revision 1.4
diff -p -r1.4 tm-mcore.h
*** tm-mcore.h 2001/03/06 08:21:31 1.4
--- tm-mcore.h 2001/03/13 23:55:14
***************
*** 18,23 ****
--- 18,25 ----
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
Index: config/mips/tm-mips.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-mips.h,v
retrieving revision 1.17
diff -p -r1.17 tm-mips.h
*** tm-mips.h 2001/03/06 08:21:32 1.17
--- tm-mips.h 2001/03/13 23:55:16
***************
*** 27,32 ****
--- 27,34 ----
#define GDB_MULTI_ARCH 1
+ #include "regcache.h"
+
struct frame_info;
struct symbol;
struct type;
Index: config/ns32k/tm-merlin.h
===================================================================
RCS file: /cvs/src/src/gdb/config/ns32k/tm-merlin.h,v
retrieving revision 1.3
diff -p -r1.3 tm-merlin.h
*** tm-merlin.h 2001/03/06 08:21:33 1.3
--- tm-merlin.h 2001/03/13 23:55:16
***************
*** 19,24 ****
--- 19,26 ----
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.
Index: config/ns32k/tm-umax.h
===================================================================
RCS file: /cvs/src/src/gdb/config/ns32k/tm-umax.h,v
retrieving revision 1.4
diff -p -r1.4 tm-umax.h
*** tm-umax.h 2001/03/06 08:21:33 1.4
--- tm-umax.h 2001/03/13 23:55:16
***************
*** 19,24 ****
--- 19,26 ----
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
Index: config/pa/nm-hppab.h
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/nm-hppab.h,v
retrieving revision 1.2
diff -p -r1.2 nm-hppab.h
*** nm-hppab.h 2001/03/06 08:21:34 1.2
--- nm-hppab.h 2001/03/13 23:55:16
***************
*** 19,24 ****
--- 19,25 ----
Boston, MA 02111-1307, USA. */
#include "somsolib.h"
+ #include "regcache.h"
#define U_REGS_OFFSET 0
Index: config/pa/tm-hppa.h
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/tm-hppa.h,v
retrieving revision 1.6
diff -p -r1.6 tm-hppa.h
*** tm-hppa.h 2001/03/06 08:21:34 1.6
--- tm-hppa.h 2001/03/13 23:55:16
***************
*** 22,27 ****
--- 22,29 ----
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;
Index: config/pa/tm-hppao.h
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/tm-hppao.h,v
retrieving revision 1.1.1.2
diff -p -r1.1.1.2 tm-hppao.h
*** tm-hppao.h 1999/07/07 20:16:22 1.1.1.2
--- tm-hppao.h 2001/03/13 23:55:16
***************
*** 2,7 ****
--- 2,9 ----
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.
*/
Index: config/powerpc/nm-solaris.h
===================================================================
RCS file: /cvs/src/src/gdb/config/powerpc/nm-solaris.h,v
retrieving revision 1.1.1.2
diff -p -r1.1.1.2 nm-solaris.h
*** nm-solaris.h 1999/07/07 20:16:28 1.1.1.2
--- nm-solaris.h 2001/03/13 23:55:16
***************
*** 18,23 ****
--- 18,25 ----
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #include "regcache.h"
+
/* Include the generic SVR4 definitions. */
#include <nm-sysv4.h>
Index: config/sparc/nm-nbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/nm-nbsd.h,v
retrieving revision 1.3
diff -p -r1.3 nm-nbsd.h
*** nm-nbsd.h 2001/03/06 08:21:36 1.3
--- nm-nbsd.h 2001/03/13 23:55:16
***************
*** 22,27 ****
--- 22,29 ----
#ifndef NM_NBSD_H
#define NM_NBSD_H
+ #include "regcache.h"
+
/* Get generic NetBSD native definitions. */
#include "config/nm-nbsd.h"
Index: config/sparc/nm-sun4os4.h
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/nm-sun4os4.h,v
retrieving revision 1.3
diff -p -r1.3 nm-sun4os4.h
*** nm-sun4os4.h 2001/03/06 08:21:37 1.3
--- nm-sun4os4.h 2001/03/13 23:55:16
***************
*** 18,23 ****
--- 18,25 ----
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
Index: config/sparc/nm-sun4sol2.h
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/nm-sun4sol2.h,v
retrieving revision 1.5
diff -p -r1.5 nm-sun4sol2.h
*** nm-sun4sol2.h 2001/03/06 08:21:37 1.5
--- nm-sun4sol2.h 2001/03/13 23:55:16
***************
*** 18,23 ****
--- 18,25 ----
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #include "regcache.h"
+
/* Include the generic SVR4 definitions. */
#include <nm-sysv4.h>
Index: config/sparc/tm-sparc.h
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/tm-sparc.h,v
retrieving revision 1.6
diff -p -r1.6 tm-sparc.h
*** tm-sparc.h 2001/03/06 08:21:37 1.6
--- tm-sparc.h 2001/03/13 23:55:27
***************
*** 22,27 ****
--- 22,29 ----
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #include "regcache.h"
+
struct type;
struct value;
struct frame_info;
Index: config/sparc/tm-sparclet.h
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/tm-sparclet.h,v
retrieving revision 1.4
diff -p -r1.4 tm-sparclet.h
*** tm-sparclet.h 2001/03/06 08:21:37 1.4
--- tm-sparclet.h 2001/03/13 23:55:27
***************
*** 18,23 ****
--- 18,25 ----
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"
Index: config/sparc/tm-sparclite.h
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/tm-sparclite.h,v
retrieving revision 1.3
diff -p -r1.3 tm-sparclite.h
*** tm-sparclite.h 2001/03/06 08:21:37 1.3
--- tm-sparclite.h 2001/03/13 23:55:28
***************
*** 19,24 ****
--- 19,26 ----
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"
Index: config/tic80/tm-tic80.h
===================================================================
RCS file: /cvs/src/src/gdb/config/tic80/tm-tic80.h,v
retrieving revision 1.3
diff -p -r1.3 tm-tic80.h
*** tm-tic80.h 2001/03/06 08:21:38 1.3
--- tm-tic80.h 2001/03/13 23:55:28
***************
*** 22,27 ****
--- 22,29 ----
#ifndef TM_TIC80_H
#define TM_TIC80_H
+ #include "regcache.h"
+
/* Forward declare structs used in prototypes */
struct frame_info;
struct type;
Index: config/v850/tm-v850.h
===================================================================
RCS file: /cvs/src/src/gdb/config/v850/tm-v850.h,v
retrieving revision 1.4
diff -p -r1.4 tm-v850.h
*** tm-v850.h 2001/03/06 08:21:38 1.4
--- tm-v850.h 2001/03/13 23:55:28
***************
*** 19,24 ****
--- 19,26 ----
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
Index: config/vax/tm-vax.h
===================================================================
RCS file: /cvs/src/src/gdb/config/vax/tm-vax.h,v
retrieving revision 1.3
diff -p -r1.3 tm-vax.h
*** tm-vax.h 2001/03/06 08:21:39 1.3
--- tm-vax.h 2001/03/13 23:55:28
***************
*** 19,24 ****
--- 19,25 ----
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #include "regcache.h"
#define TARGET_BYTE_ORDER LITTLE_ENDIAN
Index: config/w65/tm-w65.h
===================================================================
RCS file: /cvs/src/src/gdb/config/w65/tm-w65.h,v
retrieving revision 1.4
diff -p -r1.4 tm-w65.h
*** tm-w65.h 2001/03/06 08:21:39 1.4
--- tm-w65.h 2001/03/13 23:55:28
***************
*** 18,23 ****
--- 18,25 ----
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