From d3e05d0da824adbd10f0fb0647d9773c6d22e56e Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 29 Sep 2004 19:03:44 +0000 Subject: [PATCH] 2004-09-29 Andrew Cagney * infptrace.c (kill_inferior): Fix typo, in previous inline. Pass the address of status. --- gdb/ChangeLog | 5 +++-- gdb/infptrace.c | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 060cac99304..478fa638873 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,12 +1,13 @@ 2004-09-29 Andrew Cagney + * 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 - * 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 1db795bbddf..315e9b927c5 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 */ -- 2.30.2