aboutsummaryrefslogtreecommitdiff
path: root/gdb/procfs.c
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/procfs.c
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/procfs.c')
-rw-r--r--gdb/procfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 1a694e0..dfab0ba 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -45,6 +45,8 @@ regardless of whether or not the actual target has floating point hardware.
#include "command.h"
#include "gdbcore.h"
+#include "nm.h"
+
#define MAX_SYSCALLS 256 /* Maximum number of syscalls for table */
#ifndef PROC_NAME_FMT