aboutsummaryrefslogtreecommitdiff
path: root/gdb/infptrace.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-09-29 19:03:44 +0000
committerAndrew Cagney <cagney@redhat.com>2004-09-29 19:03:44 +0000
commitd3e05d0da824adbd10f0fb0647d9773c6d22e56e (patch)
treea969b6b78fa45e48fdc79f36e1ffd13097a45148 /gdb/infptrace.c
parent1ee7cf4ceb02b99f57924fb74cb0a76b00365255 (diff)
downloadgdb-d3e05d0da824adbd10f0fb0647d9773c6d22e56e.zip
gdb-d3e05d0da824adbd10f0fb0647d9773c6d22e56e.tar.gz
gdb-d3e05d0da824adbd10f0fb0647d9773c6d22e56e.tar.bz2
2004-09-29 Andrew Cagney <cagney@gnu.org>
* infptrace.c (kill_inferior): Fix typo, in previous inline. Pass the address of status.
Diffstat (limited to 'gdb/infptrace.c')
-rw-r--r--gdb/infptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infptrace.c b/gdb/infptrace.c
index 1db795b..315e9b9 100644
--- a/gdb/infptrace.c
+++ b/gdb/infptrace.c
@@ -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 */