Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
fc97373f
Commit
fc97373f
authored
Aug 13, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Fix support for breakpoint exceptions on ARM64.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3027c266
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
9 deletions
+14
-9
signal_arm64.c
dlls/ntdll/signal_arm64.c
+14
-9
No files found.
dlls/ntdll/signal_arm64.c
View file @
fc97373f
...
...
@@ -506,6 +506,17 @@ done:
}
/**********************************************************************
* raise_trap_exception
*/
static
void
WINAPI
raise_trap_exception
(
EXCEPTION_RECORD
*
rec
,
CONTEXT
*
context
)
{
NTSTATUS
status
;
if
(
rec
->
ExceptionCode
==
EXCEPTION_BREAKPOINT
)
context
->
Pc
+=
4
;
status
=
NtRaiseException
(
rec
,
context
,
TRUE
);
raise_status
(
status
,
rec
);
}
/**********************************************************************
* raise_generic_exception
*/
static
void
WINAPI
raise_generic_exception
(
EXCEPTION_RECORD
*
rec
,
CONTEXT
*
context
)
...
...
@@ -704,7 +715,7 @@ static void segv_handler( int signal, siginfo_t *info, void *ucontext )
static
void
trap_handler
(
int
signal
,
siginfo_t
*
info
,
void
*
ucontext
)
{
ucontext_t
*
context
=
ucontext
;
EXCEPTION_RECORD
*
rec
=
setup_exception
(
context
,
raise_
generic
_exception
);
EXCEPTION_RECORD
*
rec
=
setup_exception
(
context
,
raise_
trap
_exception
);
switch
(
info
->
si_code
)
{
...
...
@@ -1208,18 +1219,12 @@ void signal_exit_process( int status )
/**********************************************************************
* DbgBreakPoint (NTDLL.@)
*/
void
WINAPI
DbgBreakPoint
(
void
)
{
kill
(
getpid
(),
SIGTRAP
);
}
__ASM_STDCALL_FUNC
(
DbgBreakPoint
,
0
,
"brk #0; ret"
)
/**********************************************************************
* DbgUserBreakPoint (NTDLL.@)
*/
void
WINAPI
DbgUserBreakPoint
(
void
)
{
kill
(
getpid
(),
SIGTRAP
);
}
__ASM_STDCALL_FUNC
(
DbgUserBreakPoint
,
0
,
"brk #0; ret"
)
/**********************************************************************
* NtCurrentTeb (NTDLL.@)
...
...
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