diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-09-29 19:03:44 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-09-29 19:03:44 +0000 |
commit | d3e05d0da824adbd10f0fb0647d9773c6d22e56e (patch) | |
tree | a969b6b78fa45e48fdc79f36e1ffd13097a45148 /gdb | |
parent | 1ee7cf4ceb02b99f57924fb74cb0a76b00365255 (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/infptrace.c | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 060cac9..478fa63 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,12 +1,13 @@ 2004-09-29 Andrew Cagney <cagney@gnu.org> + * infptrace.c (kill_inferior): Fix typo, in previous inline. Pass + the address of status. + * 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. -2004-09-29 Andrew Cagney <cagney@gnu.org> - * target.h (struct target_ops): Delete field to_post_wait. (target_post_wait): Delete macro. (child_post_wait): Delete declaration. 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 */ |