summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2023-10-07 03:28:38 -0400
committerMalfurious <m@lfurio.us>2024-04-24 13:31:08 -0400
commit0991376bb2c94dc1e2dc85015de6b7e3767247b5 (patch)
tree3f9d3714d137d32033e6fa714b6faea5bd427c09
parent5bb0dfbdb6c0dc1f4a4f0e28393619469a1d4851 (diff)
downloadmisplays-0991376bb2c94dc1e2dc85015de6b7e3767247b5.tar.gz
misplays-0991376bb2c94dc1e2dc85015de6b7e3767247b5.zip
Add orig_rax to register display
Signed-off-by: Malfurious <m@lfurio.us>
-rw-r--r--misplays.c1
1 files changed, 1 insertions, 0 deletions
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);