Skip to content

Commit b5b6b5f

Browse files
author
Russell King
committed
Dump the registers on undefined instruction userspace faults
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent 0b1f68e commit b5b6b5f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎arch/arm/kernel/traps.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ asmlinkage void __exception do_undefinstr(struct pt_regs *regs)
445445
if (user_debug & UDBG_UNDEFINED) {
446446
printk(KERN_INFO "%s (%d): undefined instruction: pc=%p\n",
447447
current->comm, task_pid_nr(current), pc);
448+
__show_regs(regs);
448449
dump_instr(KERN_INFO, regs);
449450
}
450451
#endif

0 commit comments

Comments
 (0)