diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-04-09 19:49:50 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-04-11 09:48:39 -0400 |
commit | b5b6b5f5442860474ebd263cfd3e4a2a972632d8 (patch) | |
tree | 590f543049f1716addb62129c678c7c7920729f1 /arch/arm/kernel/traps.c | |
parent | 0b1f68e836bcf1ca2861f95066985c57ecfb2f1a (diff) |
Dump the registers on undefined instruction userspace faults
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/traps.c')
-rw-r--r-- | arch/arm/kernel/traps.c | 1 |
1 files changed, 1 insertions, 0 deletions
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: | |||
445 | if (user_debug & UDBG_UNDEFINED) { | 445 | if (user_debug & UDBG_UNDEFINED) { |
446 | printk(KERN_INFO "%s (%d): undefined instruction: pc=%p\n", | 446 | printk(KERN_INFO "%s (%d): undefined instruction: pc=%p\n", |
447 | current->comm, task_pid_nr(current), pc); | 447 | current->comm, task_pid_nr(current), pc); |
448 | __show_regs(regs); | ||
448 | dump_instr(KERN_INFO, regs); | 449 | dump_instr(KERN_INFO, regs); |
449 | } | 450 | } |
450 | #endif | 451 | #endif |