]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2003-03-30 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Sun, 30 Mar 2003 14:52:42 +0000 (14:52 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 30 Mar 2003 14:52:42 +0000 (14:52 +0000)
* infttrace.c: Include "gdbthread.h".
(parent_attach_all): Fix function signature.
(call_ptrace): Update call.
* Makefile.in (infttrace.o): Update dependencies.

gdb/ChangeLog
gdb/Makefile.in
gdb/infttrace.c

index f45ced722e3d7bded69ec547fa5c8ba07a593d2d..66efad6136a9ae2645ce54aa1c676b7940d3f495 100644 (file)
@@ -1,3 +1,10 @@
+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.
+
 2003-03-30  Andrew Cagney  <cagney@redhat.com>
 
        * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace
index cc0792ea8449e4418b16d79c8a4fd47272068cdb..3f1e91f91c44b0a31a2469ec7db15f47cc41290d 100644 (file)
@@ -1836,7 +1836,7 @@ infrun.o: infrun.c $(defs_h) $(gdb_string_h) $(symtab_h) $(frame_h) \
 inftarg.o: inftarg.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
        $(gdbcore_h) $(command_h) $(gdb_stat_h) $(gdb_wait_h) $(inflow_h)
 infttrace.o: infttrace.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
-       $(gdb_string_h) $(gdb_wait_h) $(command_h) $(gdbcore_h)
+       $(gdb_string_h) $(gdb_wait_h) $(command_h) $(gdbthread_h) $(gdbcore_h)
 interps.o: interps.c $(defs_h) $(gdbcmd_h) $(ui_out_h) $(event_loop_h) \
        $(event_top_h) $(interps_h) $(completer_h) $(gdb_string_h) \
        $(gdb_events_h) $(gdb_assert_h) $(top_h)
index c5b2119e281e4f82dc89d58a14459368f76348c5..f86ab025ef69c6c28d7cf8267a25e38fdfe63b5c 100644 (file)
@@ -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,