From: Jim Kingdon Date: Sat, 20 Apr 1991 00:31:01 +0000 (+0000) Subject: * tm-68k.h (NUM_REGS): Conditionalize on TARGET_SUN3 not sun. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=696d660be015e9bb4630e09c6b02ddd7ed088e86;p=binutils-gdb.git * tm-68k.h (NUM_REGS): Conditionalize on TARGET_SUN3 not sun. tm-sun3.h: Define TARGET_SUN3. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3df074d8f99..d976900dbb4 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 f8b9d49433c..a138671fff7 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 4519d6ac774..7ba7bc31835 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