OSDN Git Service

2004-09-29 Andrew Cagney <cagney@gnu.org>
authorcagney <cagney>
Wed, 29 Sep 2004 19:03:42 +0000 (19:03 +0000)
committercagney <cagney>
Wed, 29 Sep 2004 19:03:42 +0000 (19:03 +0000)
* infptrace.c (kill_inferior): Fix typo, in previous inline.  Pass
the address of status.

gdb/ChangeLog
gdb/infptrace.c

index 060cac9..478fa63 100644 (file)
@@ -1,12 +1,13 @@
 2004-09-29  Andrew Cagney  <cagney@gnu.org>
 
+       * infptrace.c (kill_inferior): Fix typo, in previous inline.  Pass
+       the address of status.
+
        * infptrace.c (ptrace_wait): Mention problem with HPUX.
        (kill_inferior): Inline ptrace_wait call.
        * linux-nat.c (kill_inferior): Inline ptrace_wait call.
        * inftarg.c (child_wait): Inline ptrace_wait call.
 
-2004-09-29  Andrew Cagney  <cagney@gnu.org>
-
        * target.h (struct target_ops): Delete field to_post_wait.
        (target_post_wait): Delete macro.
        (child_post_wait): Delete declaration.
index 1db795b..315e9b9 100644 (file)
@@ -174,7 +174,7 @@ kill_inferior (void)
      The kill call causes problems under hpux10, so it's been removed;
      if this causes problems we'll deal with them as they arise.  */
   ptrace (PT_KILL, pid, (PTRACE_TYPE_ARG3) 0, 0);
-  wait (status);
+  wait (&status);
   target_mourn_inferior ();
 }
 #endif /* DEPRECATED_KILL_INFERIOR */