aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1991-04-20 00:31:01 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1991-04-20 00:31:01 +0000
commit696d660be015e9bb4630e09c6b02ddd7ed088e86 (patch)
tree55b1404f6a410961d590a6d64de19156de509a54 /gdb
parentb4d4e8e33c73051ef96926da28e6f1f944512ec7 (diff)
downloadgdb-696d660be015e9bb4630e09c6b02ddd7ed088e86.zip
gdb-696d660be015e9bb4630e09c6b02ddd7ed088e86.tar.gz
gdb-696d660be015e9bb4630e09c6b02ddd7ed088e86.tar.bz2
* tm-68k.h (NUM_REGS): Conditionalize on TARGET_SUN3 not sun.
tm-sun3.h: Define TARGET_SUN3.
Diffstat (limited to 'gdb')
-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