diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-04-30 19:50:49 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-04-30 19:50:49 +0000 |
commit | 39d2bcca7df71f15b4e2a79d8fe0fe391a3c8e7c (patch) | |
tree | a772132c182efe7bcadc5de3fb1c549de0cb7a2a /gdb | |
parent | a416228b533730c11304cd58b94bd35cbd602784 (diff) | |
download | gdb-39d2bcca7df71f15b4e2a79d8fe0fe391a3c8e7c.zip gdb-39d2bcca7df71f15b4e2a79d8fe0fe391a3c8e7c.tar.gz gdb-39d2bcca7df71f15b4e2a79d8fe0fe391a3c8e7c.tar.bz2 |
* sun3-xdep.c, tm-sun3.h, tm-68k.h: Change TARGET_SUN3 to
GDB_TARGET_IS_SUN3.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/sun3-xdep.c | 2 | ||||
-rw-r--r-- | gdb/tm-68k.h | 2 | ||||
-rw-r--r-- | gdb/tm-sun3.h | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/gdb/sun3-xdep.c b/gdb/sun3-xdep.c index 6090dc4..15104a7 100644 --- a/gdb/sun3-xdep.c +++ b/gdb/sun3-xdep.c @@ -31,7 +31,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ extern int errno; -#if defined (TARGET_SUN3) +#if defined (GDB_TARGET_IS_SUN3) /* All of this stuff is only relevant if both host and target are sun3. */ void fetch_inferior_registers () diff --git a/gdb/tm-68k.h b/gdb/tm-68k.h index a138671..b3c6c37 100644 --- a/gdb/tm-68k.h +++ b/gdb/tm-68k.h @@ -94,7 +94,7 @@ read_memory_integer (read_register (SP_REGNUM), 4) #define REGISTER_TYPE long #if defined (HAVE_68881) -# if defined (TARGET_SUN3) +# if defined (GDB_TARGET_IS_SUN3) /* Sun3 status includes fpflags, which shows whether the FPU has been used by the process, and whether the FPU was done with an instruction or was interrupted in the middle of a long instruction. See diff --git a/gdb/tm-sun3.h b/gdb/tm-sun3.h index 7ba7bc3..aeeea7a 100644 --- a/gdb/tm-sun3.h +++ b/gdb/tm-sun3.h @@ -19,7 +19,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define HAVE_68881 -#define TARGET_SUN3 +/* TARGET_SUN3 might be a more logical name, but that's used by + ../include/target.h (included by ../include/a.out.gnu.h). */ +#define GDB_TARGET_IS_SUN3 1 #include "tm-68k.h" |