* sun3-xdep.c, tm-sun3.h, tm-68k.h: Change TARGET_SUN3 to

GDB_TARGET_IS_SUN3.
This commit is contained in:
Jim Kingdon 1991-04-30 19:50:49 +00:00
parent a416228b53
commit 39d2bcca7d
3 changed files with 5 additions and 3 deletions

View File

@ -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 ()

View File

@ -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

View File

@ -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"