aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1993-05-01 01:39:20 +0000
committerStu Grossman <grossman@cygnus>1993-05-01 01:39:20 +0000
commit55bee667d8a97e7950025cc348722d16d568510b (patch)
treeb151b46c977de5e20158e169e02fba2d61f694ba /gdb/config
parent023a56c9dfd95712228d513d1159d77a2d6a218d (diff)
downloadgdb-55bee667d8a97e7950025cc348722d16d568510b.zip
gdb-55bee667d8a97e7950025cc348722d16d568510b.tar.gz
gdb-55bee667d8a97e7950025cc348722d16d568510b.tar.bz2
* The following patches are from Jeffrey Law <law@cs.utah.edu>.
* config/pa/hppabsd.mh: Add more files to NATDEPFILES. * config/pa/xm-hppa[bh].h: Define FIVE_ARG_PTRACE. * hppab-nat.c: Delete WANT_NATIVE_TARGET ifdefs. ptrace needs 5 arguments, #define ptrace to always pass zero as the 5th argument.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/pa/hppabsd.mh2
-rw-r--r--gdb/config/pa/xm-hppab.h8
-rw-r--r--gdb/config/pa/xm-hppah.h8
3 files changed, 17 insertions, 1 deletions
diff --git a/gdb/config/pa/hppabsd.mh b/gdb/config/pa/hppabsd.mh
index 2e5b76a..ed020a5 100644
--- a/gdb/config/pa/hppabsd.mh
+++ b/gdb/config/pa/hppabsd.mh
@@ -2,4 +2,4 @@
XDEPFILES=
XM_FILE= xm-hppab.h
NAT_FILE= nm-hppab.h
-NATDEPFILES= hppab-nat.o coredep.o corelow.o exec.o
+NATDEPFILES= hppab-nat.o coredep.o corelow.o exec.o inftarg.o fork-child.o paread.o
diff --git a/gdb/config/pa/xm-hppab.h b/gdb/config/pa/xm-hppab.h
index 9ecfd4f..a98f48d 100644
--- a/gdb/config/pa/xm-hppab.h
+++ b/gdb/config/pa/xm-hppab.h
@@ -29,6 +29,14 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef INT_MIN
#define INT_MIN 0x80000000
+/* HPUX 8.0, in its infinite wisdom, has chosen to prototype ptrace
+ with five arguments, so programs written for normal ptrace lose.
+
+ Idiots.
+
+ (They should have just made it varadic). */
+#define FIVE_ARG_PTRACE
+
#ifndef hp800
#define USG
#endif
diff --git a/gdb/config/pa/xm-hppah.h b/gdb/config/pa/xm-hppah.h
index 0c10fb6..531b878 100644
--- a/gdb/config/pa/xm-hppah.h
+++ b/gdb/config/pa/xm-hppah.h
@@ -28,6 +28,14 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef INT_MIN
#define INT_MIN 0x80000000
+/* HPUX 8.0, in its infinite wisdom, has chosen to prototype ptrace
+ with five arguments, so programs written for normal ptrace lose.
+
+ Idiots.
+
+ (They should have just made it varadic). */
+#define FIVE_ARG_PTRACE
+
#ifndef hp800
#define USG
#endif