aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1992-10-09 07:59:37 +0000
committerK. Richard Pixley <rich@cygnus>1992-10-09 07:59:37 +0000
commita70dc8981ba77c6eb6deb04310f8e41370a93f8b (patch)
treede194f994749749e50219dc9132a738a66978bc6 /gdb/config
parent55ec69fb4250d844c15def4238702e7ff040f87d (diff)
downloadgdb-a70dc8981ba77c6eb6deb04310f8e41370a93f8b.zip
gdb-a70dc8981ba77c6eb6deb04310f8e41370a93f8b.tar.gz
gdb-a70dc8981ba77c6eb6deb04310f8e41370a93f8b.tar.bz2
Mips native support. Decstation and iris4 have been tested.
Iris3 has not. * mips-tdep.c (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): removed to irix4-nat.c * mips-xdep.c: removed. * irix4-nat.c, mips-nat.c, nm-irix3.h, nm-irix4.h, nm-mips.h: new files. * procfs.c: include nm.h. * xm-irix3.h (U_REGS_OFFSET, FETCH_INFERIOR_REGISTERS): removed. * xm-irix4.h: bump copyright. (U_REGS_OFFSET, FETCH_INFERIOR_REGISTERS, USE_PROC_FS, PROC_NAME_FMT): removed. * xm-mips.h (FETCH_INFERIOR_REGISTERS): removed. * config/irix4.mh (XDEPFILES): removed procfs.o fork-child.o. (NAT_FILE, NATDEPFILES): new macros for native support. (CC): supply default compiler switches. * config/irix3.mh (XDEPFILES): removed infptrace.o inftarg.o fork-child.o coredep.o. (NAT_FILE, NATDEPFILES): new macros for native support. Note that irix3 is untested. * config/decstation.mh (XDEPFILES): removed infptrace.o inftarg.o fork-child.o mips-xdep.o coredep.o. (NAT_FILE, NATDEPFILES): new macros for native support.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/decstation.mh4
-rw-r--r--gdb/config/irix3.mh4
-rw-r--r--gdb/config/irix4.mh6
3 files changed, 11 insertions, 3 deletions
diff --git a/gdb/config/decstation.mh b/gdb/config/decstation.mh
index 4a71ca2..28da9e3 100644
--- a/gdb/config/decstation.mh
+++ b/gdb/config/decstation.mh
@@ -1,6 +1,8 @@
# Host: Little-endian MIPS machine such as DECstation.
-XDEPFILES= infptrace.o inftarg.o fork-child.o mips-xdep.o coredep.o
+XDEPFILES=
XM_FILE= xm-mips.h
+NAT_FILE= nm-mips.h
+NATDEPFILES= infptrace.o inftarg.o coredep.o mips-nat.o fork-child.o
# We can't use MMALLOC because the DECstation RPC library can't cope
# with a malloc(0) that returns 0. Besides, it's useless on a machine
diff --git a/gdb/config/irix3.mh b/gdb/config/irix3.mh
index d585d92..854272d 100644
--- a/gdb/config/irix3.mh
+++ b/gdb/config/irix3.mh
@@ -1,6 +1,8 @@
# Host: SGI Iris running irix 3.x
-XDEPFILES= infptrace.o inftarg.o fork-child.o coredep.o
+XDEPFILES=
XM_FILE= xm-irix3.h
+NAT_FILE= nm-irix3.h
+NATDEPFILES= fork-child.o coredep.o infptrace.o inftarg.o nat-mips.o
ALLOCA=alloca.o
ALLOCA1=alloca.o
MUNCH_DEFINE=-B
diff --git a/gdb/config/irix4.mh b/gdb/config/irix4.mh
index fcea27e..854fa69 100644
--- a/gdb/config/irix4.mh
+++ b/gdb/config/irix4.mh
@@ -1,8 +1,12 @@
# Host: SGI Iris running irix 4.x
-XDEPFILES= procfs.o fork-child.o
+XDEPFILES=
XM_FILE= xm-irix4.h
+NAT_FILE= nm-irix4.h
+NATDEPFILES= fork-child.o procfs.o irix4-nat.o
ALLOCA=alloca.o
ALLOCA1=alloca.o
MUNCH_DEFINE=-B
XM_CLIBS=-lbsd -lsun
INSTALL = cp
+# use cc in K&R mode, bump up some static compiler tables.
+CC = cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh1100