From 0991376bb2c94dc1e2dc85015de6b7e3767247b5 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Sat, 7 Oct 2023 03:28:38 -0400 Subject: Add orig_rax to register display Signed-off-by: Malfurious --- misplays.c | 1 + 1 file changed, 1 insertion(+) diff --git a/misplays.c b/misplays.c index e30cc2c..6391d98 100644 --- a/misplays.c +++ b/misplays.c @@ -63,6 +63,7 @@ static void describe_states(struct thread *dbg, PANEL *pan) { static void dump_registers(struct thread *dbg, PANEL *pan) { struct user_regs_struct *regs = &dbg->state->regs; + pprintw(pan, "orig_rax = 0x%016llx\n", regs->orig_rax); pprintw(pan, "rax = 0x%016llx\n", regs->rax); pprintw(pan, "rbx = 0x%016llx\n", regs->rbx); pprintw(pan, "rcx = 0x%016llx\n", regs->rcx); -- cgit v1.2.3