* 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.
This commit is contained in:
Stu Grossman 1993-05-01 01:39:20 +00:00
parent 023a56c9df
commit 55bee667d8
3 changed files with 17 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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