aboutsummaryrefslogtreecommitdiff
path: root/gdb/xm-hp300bsd.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1993-02-18 07:53:44 +0000
committerJohn Gilmore <gnu@cygnus>1993-02-18 07:53:44 +0000
commitbe220da15ab003d04e4a7e17096a0d98b1c5b2a3 (patch)
tree67a56a2bb9a8c91a3b0023076df047c76007dc2c /gdb/xm-hp300bsd.h
parent5824e607dc26326244bcd09998ebd1fc1153f8fc (diff)
downloadgdb-be220da15ab003d04e4a7e17096a0d98b1c5b2a3.zip
gdb-be220da15ab003d04e4a7e17096a0d98b1c5b2a3.tar.gz
gdb-be220da15ab003d04e4a7e17096a0d98b1c5b2a3.tar.bz2
* Makefile.in (VERSION): Roll to 4.7.9.
* xm-hp300bsd.h: Define PSIGNAL_IN_SIGNAL_H and put a compatible definition here, to handle both BSD 4.3 and 4.4 systems. * tm-i386bsd.h (NUM_REGS): There are only eleven, not twelve.
Diffstat (limited to 'gdb/xm-hp300bsd.h')
-rw-r--r--gdb/xm-hp300bsd.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/gdb/xm-hp300bsd.h b/gdb/xm-hp300bsd.h
index c7da722..5defbb5 100644
--- a/gdb/xm-hp300bsd.h
+++ b/gdb/xm-hp300bsd.h
@@ -1,5 +1,5 @@
/* Parameters for hosting on a Hewlett-Packard 9000/300, running 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.
@@ -19,7 +19,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/*
* Configuration file for HP9000/300 series machine running
- * University of Utah's 4.3bsd port. This is NOT for HP-UX.
+ * University of Utah's 4.3bsd (or 4.4BSD) port. This is NOT for HP-UX.
* Problems to hpbsd-bugs@cs.utah.edu
*/
@@ -39,6 +39,14 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Kernel is a bit tenacious about sharing text segments, disallowing bpts. */
#define ONE_PROCESS_WRITETEXT
+
+/* psignal's definition in 4.4BSD conflicts with the one in defs.h.
+ But there *is* no psignal definition in 4.3BSD. So we avoid the defs.h
+ version here, and supply our own (matching) one. */
+#define PSIGNAL_IN_SIGNAL_H
+void psignal PARAMS ((unsigned int, const char *));
+
+extern char *strdup PARAMS ((const char *));
/* Interface definitions for kernel debugger KDB. */
@@ -91,5 +99,3 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
{ asm ("subil #8,sp@(28)"); \
asm ("movem sp@,#0xffff"); \
asm ("rte"); }
-
-extern char *strdup PARAMS ((const char *));