aboutsummaryrefslogtreecommitdiff
path: root/gdb/inftarg.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-09-29 15:55:55 +0000
committerAndrew Cagney <cagney@redhat.com>2004-09-29 15:55:55 +0000
commitee21b650be3203a6ace921530e694ef045613d0a (patch)
treed954e745ecadcf75b128ab9cfac1d63edd05c8e1 /gdb/inftarg.c
parenta182eed6e25da26d08047ce884748547da0c0b36 (diff)
downloadfsf-binutils-gdb-ee21b650be3203a6ace921530e694ef045613d0a.zip
fsf-binutils-gdb-ee21b650be3203a6ace921530e694ef045613d0a.tar.gz
fsf-binutils-gdb-ee21b650be3203a6ace921530e694ef045613d0a.tar.bz2
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.
Diffstat (limited to 'gdb/inftarg.c')
-rw-r--r--gdb/inftarg.c2
1 files changed, 1 insertions, 1 deletions
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;