aboutsummaryrefslogtreecommitdiff
path: root/gdb/nm-hp300bsd.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1993-02-18 09:59:35 +0000
committerJohn Gilmore <gnu@cygnus>1993-02-18 09:59:35 +0000
commitaea94564cac71dd37285764375fabcb2d5122d1d (patch)
tree0200ae735b8d1d9dc0b718afe6b60eb28b4731e7 /gdb/nm-hp300bsd.h
parent98dbc65c241ada693b7de1a1bb50c33b13d8dabd (diff)
downloadgdb-aea94564cac71dd37285764375fabcb2d5122d1d.zip
gdb-aea94564cac71dd37285764375fabcb2d5122d1d.tar.gz
gdb-aea94564cac71dd37285764375fabcb2d5122d1d.tar.bz2
* nm-hp300bsd.h (ATTACH_DETACH, PTRACE_ATTACH, PTRACE_DETACH): define.
* config/hp300bsd.mh (REGEX, REGEX1): Define. * m68k-pinsn.c (BREAK_UP_BIG_DECL, AND_OTHER_PART): #if __GNUC__, define to kludge the large opcode table into two smaller tables, since GCC take exponential space to build the table. Lint. (NOPCODES): Remove, use "numopcodes" from opcode/m68k.h instead.
Diffstat (limited to 'gdb/nm-hp300bsd.h')
-rw-r--r--gdb/nm-hp300bsd.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/gdb/nm-hp300bsd.h b/gdb/nm-hp300bsd.h
index 398f36d..71f7b06 100644
--- a/gdb/nm-hp300bsd.h
+++ b/gdb/nm-hp300bsd.h
@@ -1,5 +1,5 @@
/* Parameters for Hewlett-Packard 9000/300 native support under bsd.
- Copyright 1986, 1987, 1989, 1991, 1992 Free Software Foundation, Inc.
+ Copyright 1986, 1987, 1989, 1991, 1992, 1993 Free Software Foundation, Inc.
This file is part of GDB.
@@ -41,3 +41,12 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
addr = (int) &((struct user *)0)->u_pcb.pcb_fpregs.fpf_fpiar; \
}
+/* We can attach to processes using ptrace. */
+
+#define ATTACH_DETACH
+#define PTRACE_ATTACH 10
+#define PTRACE_DETACH 11
+
+/* The third argument of ptrace is declared as this type. */
+
+#define PTRACE_ARG3_TYPE caddr_t