change debug output in debug/int3 handler, for struct x86_user_context.

This commit is contained in:
Susumu Komae
2015-03-03 14:06:30 +09:00
committed by postpeta
parent 8caeba7cba
commit 377341ce5f

View File

@@ -629,7 +629,7 @@ void debug_handler(struct x86_user_context *regs)
#ifdef DEBUG_PRINT_CPU
kprintf("debug exception (err: %lx, %lx:%lx)\n",
regs->error, regs->cs, regs->rip);
regs->gpr.error, regs->gpr.cs, regs->gpr.rip);
arch_show_interrupt_context(regs);
#endif
@@ -654,7 +654,7 @@ void int3_handler(struct x86_user_context *regs)
#ifdef DEBUG_PRINT_CPU
kprintf("int3 exception (err: %lx, %lx:%lx)\n",
regs->error, regs->cs, regs->rip);
regs->gpr.error, regs->gpr.cs, regs->gpr.rip);
arch_show_interrupt_context(regs);
#endif