GDB_TARGET_IS_SUN3.
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 ()
#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
#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"