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

* 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.
This commit is contained in:
Andrew Cagney
2004-09-29 15:55:55 +00:00
parent a182eed6e2
commit ee21b650be
4 changed files with 16 additions and 5 deletions

View File

@ -113,7 +113,7 @@ child_wait (ptid_t ptid, struct target_waitstatus *ourstatus)
attached process. */
set_sigio_trap ();
pid = ptrace_wait (inferior_ptid, &status);
pid = wait (&status);
save_errno = errno;