From ee21b650be3203a6ace921530e694ef045613d0a Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 29 Sep 2004 15:55:55 +0000 Subject: 2004-09-29 Andrew Cagney * 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. --- gdb/inftarg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/inftarg.c') diff --git a/gdb/inftarg.c b/gdb/inftarg.c index 7238576..e0b6a31 100644 --- a/gdb/inftarg.c +++ b/gdb/inftarg.c @@ -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; -- cgit v1.1