aboutsummaryrefslogtreecommitdiff
path: root/gdb/xm-hp300hpux.h
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 /gdb/xm-hp300hpux.h
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.
Diffstat (limited to 'gdb/xm-hp300hpux.h')
-rw-r--r--gdb/xm-hp300hpux.h7
1 files changed, 7 insertions, 0 deletions
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. */