diff options
author | Peter Schauer <Peter.Schauer@mytum.de> | 1994-06-12 11:11:39 +0000 |
---|---|---|
committer | Peter Schauer <Peter.Schauer@mytum.de> | 1994-06-12 11:11:39 +0000 |
commit | 020ed9bbb7b2e2a83798cc33959023bfad45d67b (patch) | |
tree | 84c2ff6695b0c6455de32b8f65d0d77e2ccfc84d /gdb | |
parent | 33c66e44edbe585eb5a1699a4682aad28e68325f (diff) | |
download | gdb-020ed9bbb7b2e2a83798cc33959023bfad45d67b.zip gdb-020ed9bbb7b2e2a83798cc33959023bfad45d67b.tar.gz gdb-020ed9bbb7b2e2a83798cc33959023bfad45d67b.tar.bz2 |
* config/m68k/dpx2.mh (NATDEPFILES): Remove duplicate inclusion
of inftarg.o.
* config/m68k/tm-dpx2.h (CANNOT_STORE_REGISTER): Define to inhibit
writing of floating registers, the dpx2 kernel disallows it.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/config/m68k/dpx2.mh | 3 | ||||
-rw-r--r-- | gdb/config/m68k/tm-dpx2.h | 5 |
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" |