aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/tm-68k.h2
-rw-r--r--gdb/tm-sun3.h2
3 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3df074d..d976900 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
Fri Apr 19 09:36:50 1991 Jim Kingdon (kingdon at cygint.cygnus.com)
+ * tm-68k.h (NUM_REGS): Conditionalize on TARGET_SUN3 not sun.
+ tm-sun3.h: Define TARGET_SUN3.
+
* utils.c: Use CPLUS_MARKER not '$'.
* cplus-dem.c: Use CPLUS_MARKER not '$'. If CPLUS_MARKER isn't
diff --git a/gdb/tm-68k.h b/gdb/tm-68k.h
index f8b9d49..a138671 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 (sun)
+# if defined (TARGET_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 4519d6a..7ba7bc3 100644
--- a/gdb/tm-sun3.h
+++ b/gdb/tm-sun3.h
@@ -19,6 +19,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define HAVE_68881
+#define TARGET_SUN3
+
#include "tm-68k.h"
/* Define this if the C compiler puts an underscore at the front