* sun3-xdep.c, tm-sun3.h, tm-68k.h: Change TARGET_SUN3 to
GDB_TARGET_IS_SUN3.
This commit is contained in:
parent
a416228b53
commit
39d2bcca7d
3 changed files with 5 additions and 3 deletions
|
@ -31,7 +31,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
|
|
||||||
extern int errno;
|
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. */
|
/* All of this stuff is only relevant if both host and target are sun3. */
|
||||||
void
|
void
|
||||||
fetch_inferior_registers ()
|
fetch_inferior_registers ()
|
||||||
|
|
|
@ -94,7 +94,7 @@ read_memory_integer (read_register (SP_REGNUM), 4)
|
||||||
#define REGISTER_TYPE long
|
#define REGISTER_TYPE long
|
||||||
|
|
||||||
#if defined (HAVE_68881)
|
#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
|
/* 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
|
by the process, and whether the FPU was done with an instruction or
|
||||||
was interrupted in the middle of a long instruction. See
|
was interrupted in the middle of a long instruction. See
|
||||||
|
|
|
@ -19,7 +19,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
|
|
||||||
#define HAVE_68881
|
#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"
|
#include "tm-68k.h"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue