diff options
-rw-r--r-- | gdb/config/pa/hppabsd.mh | 2 | ||||
-rw-r--r-- | gdb/config/pa/xm-hppab.h | 8 | ||||
-rw-r--r-- | gdb/config/pa/xm-hppah.h | 8 |
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 |