diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-09-29 15:55:55 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-09-29 15:55:55 +0000 |
commit | ee21b650be3203a6ace921530e694ef045613d0a (patch) | |
tree | d954e745ecadcf75b128ab9cfac1d63edd05c8e1 /gdb/inftarg.c | |
parent | a182eed6e25da26d08047ce884748547da0c0b36 (diff) | |
download | gdb-ee21b650be3203a6ace921530e694ef045613d0a.zip gdb-ee21b650be3203a6ace921530e694ef045613d0a.tar.gz 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.c | 2 |
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; |