2004-09-29 Andrew Cagney <cagney@gnu.org>

* infptrace.c (kill_inferior): Fix typo, in previous inline.  Pass
	the address of status.
This commit is contained in:
Andrew Cagney 2004-09-29 19:03:44 +00:00
parent 1ee7cf4ceb
commit d3e05d0da8
2 changed files with 4 additions and 3 deletions

View 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.

View 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 */