From 39d2bcca7df71f15b4e2a79d8fe0fe391a3c8e7c Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Tue, 30 Apr 1991 19:50:49 +0000 Subject: [PATCH] * sun3-xdep.c, tm-sun3.h, tm-68k.h: Change TARGET_SUN3 to GDB_TARGET_IS_SUN3. --- gdb/sun3-xdep.c | 2 +- gdb/tm-68k.h | 2 +- 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" -- 2.7.4