- regs[8], regs[9], regs[10], regs[11],
- mode_name(regs[16]));
- if ((regs[16] & MODE_MASK) == USR_MODE)
- fiq_debugger_printf(state,
- " ip %08x sp %08x lr %08x pc %08x cpsr %08x\n",
- regs[12], regs[13], regs[14], regs[15],
- regs[16]);
- else
- fiq_debugger_printf(state,
- " ip %08x sp %08x lr %08x pc %08x cpsr %08x spsr %08x\n",
- regs[12], regs[13], regs[14], regs[15],
- regs[16], regs[17]);
+ regs->ARM_r8, regs->ARM_r9, regs->ARM_r10, regs->ARM_fp,
+ mode_name(regs->ARM_cpsr));
+ fiq_debugger_printf(state,
+ " ip %08x sp %08x lr %08x pc %08x cpsr %08x\n",
+ regs->ARM_ip, regs->ARM_sp, regs->ARM_lr, regs->ARM_pc,
+ regs->ARM_cpsr);