From: Russell King Date: Wed, 9 Apr 2014 23:49:50 +0000 (+0100) Subject: Dump the registers on undefined instruction userspace faults X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b5b6b5f5442860474ebd263cfd3e4a2a972632d8;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git Dump the registers on undefined instruction userspace faults Signed-off-by: Russell King --- diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index 172ee18ff124..abd2fc067736 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c @@ -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