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
218bc84e
Commit
218bc84e
authored
Feb 18, 2016
by
Sebastian Lackner
Committed by
Alexandre Julliard
Feb 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Mimic Windows behaviour when calling debug service.
Signed-off-by:
Sebastian Lackner
<
sebastian@fds-team.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b0e122f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
signal_i386.c
dlls/ntdll/signal_i386.c
+15
-0
No files found.
dlls/ntdll/signal_i386.c
View file @
218bc84e
...
...
@@ -1940,6 +1940,21 @@ static void WINAPI raise_segv_exception( EXCEPTION_RECORD *rec, CONTEXT *context
goto
done
;
}
break
;
case
EXCEPTION_BREAKPOINT
:
if
(
!
is_wow64
)
{
/* On Wow64, the upper DWORD of Rax contains garbage, and the debug
* service is usually not recognized when called from usermode. */
switch
(
rec
->
ExceptionInformation
[
0
])
{
case
1
:
/* BREAKPOINT_PRINT */
case
3
:
/* BREAKPOINT_LOAD_SYMBOLS */
case
4
:
/* BREAKPOINT_UNLOAD_SYMBOLS */
case
5
:
/* BREAKPOINT_COMMAND_STRING (>= Win2003) */
goto
done
;
}
}
break
;
}
status
=
NtRaiseException
(
rec
,
context
,
TRUE
);
raise_status
(
status
,
rec
);
...
...
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