Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Oleksandr Natalenko
pf-kernel
Commits
b5b6b5f5
Commit
b5b6b5f5
authored
Apr 10, 2014
by
Russell King
Browse files
Dump the registers on undefined instruction userspace faults
Signed-off-by:
Russell King
<
rmk+kernel@arm.linux.org.uk
>
parent
0b1f68e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
arch/arm/kernel/traps.c
arch/arm/kernel/traps.c
+1
-0
No files found.
arch/arm/kernel/traps.c
View file @
b5b6b5f5
...
...
@@ -445,6 +445,7 @@ asmlinkage void __exception do_undefinstr(struct pt_regs *regs)
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment