diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-04-10 00:49:50 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-04-11 14:48:39 +0100 |
commit | b5b6b5f5442860474ebd263cfd3e4a2a972632d8 (patch) | |
tree | 590f543049f1716addb62129c678c7c7920729f1 /arch | |
parent | 0b1f68e836bcf1ca2861f95066985c57ecfb2f1a (diff) | |
download | linux-b5b6b5f5442860474ebd263cfd3e4a2a972632d8.tar.gz linux-b5b6b5f5442860474ebd263cfd3e4a2a972632d8.tar.bz2 linux-b5b6b5f5442860474ebd263cfd3e4a2a972632d8.zip |
Dump the registers on undefined instruction userspace faults
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-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: 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 |