aboutsummaryrefslogtreecommitdiff
path: root/gdb/infttrace.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-03-30 14:52:42 +0000
committerAndrew Cagney <cagney@redhat.com>2003-03-30 14:52:42 +0000
commitf7dd6af2b559a621e7e36ba3eaadfb6a11006cdf (patch)
tree59b90ac74916ec38efc96baf362bfbbc663420eb /gdb/infttrace.c
parent28f617b33237d7369ca657b1e5fac6abbe112a1b (diff)
downloadgdb-f7dd6af2b559a621e7e36ba3eaadfb6a11006cdf.zip
gdb-f7dd6af2b559a621e7e36ba3eaadfb6a11006cdf.tar.gz
gdb-f7dd6af2b559a621e7e36ba3eaadfb6a11006cdf.tar.bz2
2003-03-30 Andrew Cagney <cagney@redhat.com>
* infttrace.c: Include "gdbthread.h". (parent_attach_all): Fix function signature. (call_ptrace): Update call. * Makefile.in (infttrace.o): Update dependencies.
Diffstat (limited to 'gdb/infttrace.c')
-rw-r--r--gdb/infttrace.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/infttrace.c b/gdb/infttrace.c
index c5b2119..f86ab02 100644
--- a/gdb/infttrace.c
+++ b/gdb/infttrace.c
@@ -27,6 +27,7 @@
#include "gdb_string.h"
#include "gdb_wait.h"
#include "command.h"
+#include "gdbthread.h"
/* We need pstat functionality so that we can get the exec file
for a process we attach to.
@@ -2947,7 +2948,7 @@ ptrace_wait (ptid_t ptid, int *status)
child_acknowledge_created_inferior.)
*/
int
-parent_attach_all (void)
+parent_attach_all (int p1, PTRACE_ARG3_TYPE p2, int p3)
{
int tt_status;
@@ -3674,7 +3675,7 @@ call_ptrace (int pt_request, int gdb_tid, PTRACE_ARG3_TYPE addr, int data)
there's no need for any "break" statements.
*/
case PT_SETTRC:
- return parent_attach_all ();
+ return parent_attach_all (0, 0, 0);
case PT_RUREGS:
tt_status = read_from_register_save_state (gdb_tid,