提交 b5b6b5f5 编写于 作者: R Russell King

Dump the registers on undefined instruction userspace faults

Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 0b1f68e8
......@@ -445,6 +445,7 @@ asmlinkage void __exception do_undefinstr(struct pt_regs *regs)
if (user_debug & UDBG_UNDEFINED) {
printk(KERN_INFO "%s (%d): undefined instruction: pc=%p\n",
current->comm, task_pid_nr(current), pc);
__show_regs(regs);
dump_instr(KERN_INFO, regs);
}
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册