From a70dc8981ba77c6eb6deb04310f8e41370a93f8b Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Fri, 9 Oct 1992 07:59:37 +0000 Subject: 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. --- gdb/config/decstation.mh | 4 +++- gdb/config/irix3.mh | 4 +++- gdb/config/irix4.mh | 6 +++++- 3 files changed, 11 insertions(+), 3 deletions(-) (limited to 'gdb/config') 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 -- cgit v1.1