aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-08-19 23:18:03 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-08-19 23:18:03 +0000
commit522b996209a047fd15d45e2089ab07c332687501 (patch)
tree29cbe5ca922d49217311c10171075a976873eeef /gdb/config
parent010877137c607e35f5c503a3563f1617c760492e (diff)
downloadgdb-522b996209a047fd15d45e2089ab07c332687501.zip
gdb-522b996209a047fd15d45e2089ab07c332687501.tar.gz
gdb-522b996209a047fd15d45e2089ab07c332687501.tar.bz2
* config/m68k/delta68.m{t,h}: Use nm-delta68.h, etc. not
non-existent files nm-delta.h, etc. * config/m68k/tm-delta68.h: Define CANNOT_STORE_REGISTER. * delta68-nat.c: Add "[0]" in offsetof argument. * delta68-nat.c (_initialize_kernel_u_addr): Don't try to set up nl with initializer, just assign to it. Check n_scnum field on return.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/m68k/delta68.mh4
-rw-r--r--gdb/config/m68k/delta68.mt2
-rw-r--r--gdb/config/m68k/tm-delta68.h4
3 files changed, 7 insertions, 3 deletions
diff --git a/gdb/config/m68k/delta68.mh b/gdb/config/m68k/delta68.mh
index 677cb66..6b00d59 100644
--- a/gdb/config/m68k/delta68.mh
+++ b/gdb/config/m68k/delta68.mh
@@ -2,5 +2,5 @@
XM_FILE= xm-delta68.h
REGEX=regex.o
REGEX1=regex.o
-NAT_FILE= nm-delta.h
-NATDEPFILES= infptrace.o inftarg.o fork-child.o coredep.o corelow.o delta-nat.o
+NAT_FILE= nm-delta68.h
+NATDEPFILES= infptrace.o inftarg.o fork-child.o coredep.o corelow.o delta68-nat.o
diff --git a/gdb/config/m68k/delta68.mt b/gdb/config/m68k/delta68.mt
index 1de2958..c111182 100644
--- a/gdb/config/m68k/delta68.mt
+++ b/gdb/config/m68k/delta68.mt
@@ -1,3 +1,3 @@
# Motorola Delta Series sysV68 R3V7.1
TDEPFILES= m68k-pinsn.o exec.o m68k-tdep.o
-TM_FILE= tm-delta.h
+TM_FILE= tm-delta68.h
diff --git a/gdb/config/m68k/tm-delta68.h b/gdb/config/m68k/tm-delta68.h
index 65694fc..f0bef1f 100644
--- a/gdb/config/m68k/tm-delta68.h
+++ b/gdb/config/m68k/tm-delta68.h
@@ -34,4 +34,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define HAVE_68881
+/* Not sure what happens if we try to store this register, but
+ phdm@info.ucl.ac.be says we need this define. */
+#define CANNOT_STORE_REGISTER(regno) (regno == FPI_REGNUM)
+
#include "m68k/tm-m68k.h"