mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
Dump the registers on undefined instruction userspace faults
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
0b1f68e836
commit
b5b6b5f544
@ -445,6 +445,7 @@ die_sig:
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user