summaryrefslogtreecommitdiffstats
path: root/misplays.c
diff options
context:
space:
mode:
Diffstat (limited to 'misplays.c')
-rw-r--r--misplays.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/misplays.c b/misplays.c
index 9ae6122..a2535c3 100644
--- a/misplays.c
+++ b/misplays.c
@@ -88,6 +88,18 @@ static void dump_registers(struct thread *dbg, PANEL *pan) {
pprintw(pan, "rbp = 0x%016llx\n", regs->rbp);
pprintw(pan, "rip = 0x%016llx\n", regs->rip);
}
+#elif defined ARCH_AARCH64
+ struct user_regs_64 *regs = &dbg->state->regs.arm64;
+ pprintw(pan, "x0 = 0x%016llx\n", regs->regs[0]);
+ pprintw(pan, "x1 = 0x%016llx\n", regs->regs[1]);
+ pprintw(pan, "x2 = 0x%016llx\n", regs->regs[2]);
+ pprintw(pan, "x3 = 0x%016llx\n", regs->regs[3]);
+ pprintw(pan, "x4 = 0x%016llx\n", regs->regs[4]);
+ pprintw(pan, "x5 = 0x%016llx\n", regs->regs[5]);
+ pprintw(pan, "x6 = 0x%016llx\n", regs->regs[6]);
+ pprintw(pan, "x7 = 0x%016llx\n", regs->regs[7]);
+ pprintw(pan, "sp = 0x%016llx\n", regs->sp);
+ pprintw(pan, "pc = 0x%016llx\n", regs->pc);
#endif
}