diff options
-rw-r--r-- | misplays.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |