aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/config/m68k/dpx2.mh3
-rw-r--r--gdb/config/m68k/tm-dpx2.h5
2 files changed, 5 insertions, 3 deletions
diff --git a/gdb/config/m68k/dpx2.mh b/gdb/config/m68k/dpx2.mh
index 7f5f852..feb5e2a 100644
--- a/gdb/config/m68k/dpx2.mh
+++ b/gdb/config/m68k/dpx2.mh
@@ -2,8 +2,7 @@
XDEPFILES=
XM_FILE= xm-dpx2.h
NAT_FILE= nm-dpx2.h
-NATDEPFILES= infptrace.o coredep.o corelow.o inftarg.o dpx2-nat.o \
- inftarg.o fork-child.o
+NATDEPFILES= infptrace.o coredep.o corelow.o inftarg.o dpx2-nat.o fork-child.o
REGEX=regex.o
REGEX1=regex.o
TERMCAP=-lcurses
diff --git a/gdb/config/m68k/tm-dpx2.h b/gdb/config/m68k/tm-dpx2.h
index cff906a..d1bdee7 100644
--- a/gdb/config/m68k/tm-dpx2.h
+++ b/gdb/config/m68k/tm-dpx2.h
@@ -1,5 +1,5 @@
/* Parameters for targeting to a Bull DPX2.
- Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1987, 1989, 1991, 1994 Free Software Foundation, Inc.
This file is part of GDB.
@@ -26,5 +26,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
record, not using x_fsize field. */
#define FUNCTION_EPILOGUE_SIZE 4
+/* The child target can't deal with writing floating registers. */
+#define CANNOT_STORE_REGISTER(regno) ((regno) >= FP0_REGNUM)
+
#include <sys/types.h>
#include "m68k/tm-m68k.h"