Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
8914d7e8
Commit
8914d7e8
authored
Dec 08, 2014
by
Richard Kuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hexagon: fix signal delivery for debug traps
Signed-off-by:
Richard Kuo
<
rkuo@codeaurora.org
>
parent
ea0f1b92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
arch/hexagon/kernel/traps.c
arch/hexagon/kernel/traps.c
+2
-2
No files found.
arch/hexagon/kernel/traps.c
View file @
8914d7e8
/*
/*
* Kernel traps/events for Hexagon processor
* Kernel traps/events for Hexagon processor
*
*
* Copyright (c) 2010-201
3
, The Linux Foundation. All rights reserved.
* Copyright (c) 2010-201
4
, The Linux Foundation. All rights reserved.
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* it under the terms of the GNU General Public License version 2 and
...
@@ -423,7 +423,7 @@ void do_trap0(struct pt_regs *regs)
...
@@ -423,7 +423,7 @@ void do_trap0(struct pt_regs *regs)
*/
*/
info
.
si_code
=
TRAP_BRKPT
;
info
.
si_code
=
TRAP_BRKPT
;
info
.
si_addr
=
(
void
__user
*
)
pt_elr
(
regs
);
info
.
si_addr
=
(
void
__user
*
)
pt_elr
(
regs
);
send
_sig_info
(
SIGTRAP
,
&
info
,
current
);
force
_sig_info
(
SIGTRAP
,
&
info
,
current
);
}
else
{
}
else
{
#ifdef CONFIG_KGDB
#ifdef CONFIG_KGDB
kgdb_handle_exception
(
pt_cause
(
regs
),
SIGTRAP
,
kgdb_handle_exception
(
pt_cause
(
regs
),
SIGTRAP
,
...
...
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