summaryrefslogtreecommitdiffstats
path: root/misplays.c
diff options
context:
space:
mode:
Diffstat (limited to 'misplays.c')
-rw-r--r--misplays.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/misplays.c b/misplays.c
index 272a60a..62d89e7 100644
--- a/misplays.c
+++ b/misplays.c
@@ -1,4 +1,5 @@
#include <signal.h>
+#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/ptrace.h>
@@ -133,7 +134,7 @@ static void disasm(struct thread *dbg, PANEL *pan) {
static void info_update(struct thread *th, PANEL *pan) {
pclear(pan);
pprintw(pan, "TID: %li\n", (long)th->id);
- pprintw(pan, "%s (%i)\n", th->status, th->signal);
+ pprintw(pan, "%s (%i: %s)\n", th->status, th->signal, strsignal(th->signal));
list_breakpoints(th, pan);
describe_states(th, pan);
dump_registers(th, pan);