+2021-05-10 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * nat/linux-waitpid.c (status_to_str): Show signal name.
+
2021-05-09 Andrew Burgess <andrew.burgess@embecosm.com>
* python/py-breakpoint.c (pybp_debug): New static global.
if (WIFSTOPPED (status))
{
if (WSTOPSIG (status) == SYSCALL_SIGTRAP)
- return string_printf ("%s (stopped at syscall)",
- strsignal (SIGTRAP));
+ return string_printf ("%s - %s (stopped at syscall)",
+ strsigno (SIGTRAP), strsignal (SIGTRAP));
else
- return string_printf ("%s (stopped)",
+ return string_printf ("%s - %s (stopped)",
+ strsigno (WSTOPSIG (status)),
strsignal (WSTOPSIG (status)));
}
else if (WIFSIGNALED (status))
- return string_printf ("%s (terminated)",
+ return string_printf ("%s - %s (terminated)",
+ strsigno (WTERMSIG (status)),
strsignal (WTERMSIG (status)));
else
return string_printf ("%d (exited)", WEXITSTATUS (status));