From 020ed9bbb7b2e2a83798cc33959023bfad45d67b Mon Sep 17 00:00:00 2001 From: Peter Schauer Date: Sun, 12 Jun 1994 11:11:39 +0000 Subject: [PATCH] * 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. --- gdb/config/m68k/dpx2.mh | 3 +-- 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 7f5f852bd13..feb5e2ad1b1 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 cff906ae009..d1bdee7d4e1 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 #include "m68k/tm-m68k.h" -- 2.30.2