From 888c7ed10d7d82079c7266f4899c1c6f0c805832 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Thu, 28 Sep 2023 15:36:11 -0400 Subject: Display name of pending signal Signed-off-by: Malfurious --- misplays.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misplays.c b/misplays.c index 272a60a..62d89e7 100644 --- a/misplays.c +++ b/misplays.c @@ -1,4 +1,5 @@ #include +#include #include #include #include @@ -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); -- cgit v1.2.3