aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/nm-nbsd.h
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>1994-09-23 22:30:31 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>1994-09-23 22:30:31 +0000
commit84f652b150d70b36b704182702ee8de5950b0a82 (patch)
tree9d4e4befd4f679a057656cd1f9e022510067329c /gdb/config/sparc/nm-nbsd.h
parent4d61cba98770961e820bdc8e1ea4025ebebb5018 (diff)
downloadfsf-binutils-gdb-84f652b150d70b36b704182702ee8de5950b0a82.zip
fsf-binutils-gdb-84f652b150d70b36b704182702ee8de5950b0a82.tar.gz
fsf-binutils-gdb-84f652b150d70b36b704182702ee8de5950b0a82.tar.bz2
* solib.c: *BSD systems need <a.out.h> to be included before
<link.h>. * i386b-nat.c: Add i386_float_info(), etc. * config/i386/nm-nbsd.h: #define FLOAT_INFO. * config/nm-nbsd.h: New file, for generic NetBSD native support. * config/i386/nm-nbsd.h: Use it. * config/sparc/nm-nbsd.h: Use it. * config/ns32k/nm-nbsd.h: Use it. * configure.in (i386-*-netbsd): Use config/i386/nbsd.m[ht]. (ns32k-*-netbsd): Use config/ns32k/nbsd.m[ht]. * config/i386/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}: New files, support for NetBSD/i386. * config/ns32k/{nbsd.mh,nbsd.mh,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}: New files, support for NetBSD/ns32k.
Diffstat (limited to 'gdb/config/sparc/nm-nbsd.h')
-rw-r--r--gdb/config/sparc/nm-nbsd.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/gdb/config/sparc/nm-nbsd.h b/gdb/config/sparc/nm-nbsd.h
index 83d918e..9116d1d 100644
--- a/gdb/config/sparc/nm-nbsd.h
+++ b/gdb/config/sparc/nm-nbsd.h
@@ -20,15 +20,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifndef NM_NBSD_H
#define NM_NBSD_H
-/* This is the amount to subtract from u.u_ar0
- to get the offset in the core file of the register values. */
-
-#include <machine/vmparam.h>
-#define KERNEL_U_ADDR USRSTACK
-
-#define PTRACE_ARG3_TYPE char*
-
-#define ATTACH_DETACH
+/* Get generic NetBSD native definitions. */
+#include "nm-nbsd.h"
#define FETCH_INFERIOR_REGISTERS