* linux-nat.c (status_to_str): Use WTERMSIG to extract the signal
number from a WIFSIGNALED status.
+2010-09-02 Yao Qi <yao@codesourcery.com>
+
+ * linux-nat.c (status_to_str): Use WTERMSIG to extract the signal
+ number from a WIFSIGNALED status.
+
2010-09-01 Tom Tromey <tromey@redhat.com>
* symtab.h (lookup_type_symbol): Declare.
}
else if (WIFSIGNALED (status))
snprintf (buf, sizeof (buf), "%s (terminated)",
- strsignal (WSTOPSIG (status)));
+ strsignal (WTERMSIG (status)));
else
snprintf (buf, sizeof (buf), "%d (exited)", WEXITSTATUS (status));