aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1993-05-01 01:19:43 +0000
committerStu Grossman <grossman@cygnus>1993-05-01 01:19:43 +0000
commit2f1c04d17d1d5c77c85aef8084145bdc9395e661 (patch)
treebc501be59750e7d503be3dd0bf0dd14b62959a98 /gdb
parentd325e28cfd6281aa03629ebe2e33dd5cd77738ff (diff)
downloadgdb-2f1c04d17d1d5c77c85aef8084145bdc9395e661.zip
gdb-2f1c04d17d1d5c77c85aef8084145bdc9395e661.tar.gz
gdb-2f1c04d17d1d5c77c85aef8084145bdc9395e661.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')
-rw-r--r--gdb/.Sanitize2
-rw-r--r--gdb/ChangeLog12
-rw-r--r--gdb/hppab-nat.c11
3 files changed, 21 insertions, 4 deletions
diff --git a/gdb/.Sanitize b/gdb/.Sanitize
index e0e5d82..9825cce 100644
--- a/gdb/.Sanitize
+++ b/gdb/.Sanitize
@@ -150,6 +150,7 @@ mips-nat.c
mips-pinsn.c
mips-tdep.c
mipsread.c
+monitor.h
munch
news-xdep.c
nindy-share
@@ -177,6 +178,7 @@ remote-es1800.c
remote-hms.c
remote-mips.c
remote-mm.c
+remote-monitor.c
remote-nindy.c
remote-sim.c
remote-st2000.c
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4b82edb..34be1a9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,12 @@
+Fri Apr 30 17:45:32 1993 Stu Grossman (grossman@cygnus.com)
+
+ * 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.
+
Fri Apr 30 15:54:13 1993 Steve Chamberlain (sac@thepub.cygnus.com)
* configure.in: Match z8k-*-sim for z8000.
@@ -17,8 +26,7 @@ Fri Apr 30 16:50:38 1993 K. Richard Pixley (rich@rtl.cygnus.com)
* config/sparc/sun4sol2.mh (XM_CLIBS): add -lsocket which is
required target ports which use sockets (like a29k-udi).
- * remove-udi.c (udi_wait): ifdef around SIGLOST usage. Eg,
- Solaris doesn't have SIGLOST so use SIGURG as a backup.
+ * remote-udi.c (udi_wait): Use SIGURG, as Solaris doesn't have SIGLOST.
Fri Apr 30 11:05:42 1993 Jim Kingdon (kingdon@cygnus.com)
diff --git a/gdb/hppab-nat.c b/gdb/hppab-nat.c
index b066d64..3d2ca97 100644
--- a/gdb/hppab-nat.c
+++ b/gdb/hppab-nat.c
@@ -27,9 +27,17 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "target.h"
#include <sys/ptrace.h>
+#ifdef FIVE_ARG_PTRACE
+
+/* Deal with HPUX 8.0 braindamage. */
+#define ptrace(a,b,c,d) ptrace(a,b,c,d,0)
+
+#endif
+
#ifndef PT_ATTACH
#define PT_ATTACH PTRACE_ATTACH
#endif
+
#ifndef PT_DETACH
#define PT_DETACH PTRACE_DETACH
#endif
@@ -37,7 +45,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* This function simply calls ptrace with the given arguments.
It exists so that all calls to ptrace are isolated in this
machine-dependent file. */
-#ifdef WANT_NATIVE_TARGET
+
int
call_ptrace (request, pid, addr, data)
int request, pid;
@@ -46,7 +54,6 @@ call_ptrace (request, pid, addr, data)
{
return ptrace (request, pid, addr, data);
}
-#endif /* WANT_NATIVE_TARGET */
#ifdef DEBUG_PTRACE
/* For the rest of the file, use an extra level of indirection */