aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1992-09-29 17:43:35 +0000
committerIan Lance Taylor <ian@airs.com>1992-09-29 17:43:35 +0000
commitbe891e75a3c8b7398883fb860405eeb2b2b5194c (patch)
tree3ea38e2a8a59f96bbb7eac81af07dded4fd3993b
parentce201b347f5cc9493a86f712b890bf65dc19d59b (diff)
downloadgdb-be891e75a3c8b7398883fb860405eeb2b2b5194c.zip
gdb-be891e75a3c8b7398883fb860405eeb2b2b5194c.tar.gz
gdb-be891e75a3c8b7398883fb860405eeb2b2b5194c.tar.bz2
Tue Sep 29 10:19:00 1992 Ian Lance Taylor (ian@cygnus.com)
* xm-hp300hpux.h: define MEM_FNS_DECLARED; include <sys/ptrace.h> for infptrace.c. config/hp300hpux.mh: ALLOCA1 was not defined.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/config/hp300hpux.mh1
-rw-r--r--gdb/xm-hp300hpux.h7
3 files changed, 14 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 31651c4..fd1f3f9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+Tue Sep 29 10:19:00 1992 Ian Lance Taylor (ian@cygnus.com)
+
+ * xm-hp300hpux.h: define MEM_FNS_DECLARED; include <sys/ptrace.h>
+ for infptrace.c.
+ config/hp300hpux.mh: ALLOCA1 was not defined.
+
Mon Sep 28 22:03:41 1992 Stu Grossman (grossman at cygnus.com)
* breakpoint.c, exec.c, language.c, main.c, printcmd.c, symfile.c,
diff --git a/gdb/config/hp300hpux.mh b/gdb/config/hp300hpux.mh
index 7ac8e7b..395e4b8 100644
--- a/gdb/config/hp300hpux.mh
+++ b/gdb/config/hp300hpux.mh
@@ -13,3 +13,4 @@ SYSV_DEFINE=-DSYSV
REGEX=regex.o
REGEX1=regex.o
ALLOCA=alloca.o
+ALLOCA1=alloca.o
diff --git a/gdb/xm-hp300hpux.h b/gdb/xm-hp300hpux.h
index 79bc6da..36790c5 100644
--- a/gdb/xm-hp300hpux.h
+++ b/gdb/xm-hp300hpux.h
@@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+/* HP/UX is USG, but it does have <ptrace.h> */
+#include <sys/ptrace.h>
+
#define HOST_BYTE_ORDER BIG_ENDIAN
/* Define this to indicate problems with traps after continuing. */
@@ -41,6 +44,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef USG /* In case it was defined in the Makefile for cplus-dem.c */
#define USG
+/* The mem functions are in <string.h>. */
+#undef MEM_FNS_DECLARED
+#define MEM_FNS_DECLARED 1
+
#define HAVE_TERMIO
/* Get rid of any system-imposed stack limit if possible. */