projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b1f68e
)
Dump the registers on undefined instruction userspace faults
author
Russell King
<rmk+kernel@arm.linux.org.uk>
Wed, 9 Apr 2014 23:49:50 +0000
(
00:49
+0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Fri, 11 Apr 2014 13:48:39 +0000
(14:48 +0100)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/traps.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/kernel/traps.c
b/arch/arm/kernel/traps.c
index 172ee18ff1247b3159c355d899bf09bfc06579c8..abd2fc0677364a529d4c12479890f6b97770b41a 100644
(file)
--- 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