Commit b5b6b5f5 authored by Russell King's avatar Russell King

Dump the registers on undefined instruction userspace faults

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment