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
1a988fa4
Commit
1a988fa4
authored
Apr 12, 2014
by
Austin English
Committed by
Alexandre Julliard
Apr 15, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Make sure flags are preserved in raise_trap_exception().
parent
c7690c70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
signal_i386.c
dlls/ntdll/signal_i386.c
+2
-1
No files found.
dlls/ntdll/signal_i386.c
View file @
1a988fa4
...
...
@@ -1868,9 +1868,10 @@ static void WINAPI raise_trap_exception( EXCEPTION_RECORD *rec, CONTEXT *context
if
(
!
(
context
->
EFlags
&
0x100
)
||
(
ntdll_get_thread_data
()
->
dr7
&
0xff
)
)
{
/* (possible) hardware breakpoint, fetch the debug registers */
DWORD
saved_flags
=
context
->
ContextFlags
;
context
->
ContextFlags
=
CONTEXT_DEBUG_REGISTERS
;
NtGetContextThread
(
GetCurrentThread
(),
context
);
context
->
ContextFlags
|=
CONTEXT_FULL
;
/* restore flags */
context
->
ContextFlags
|=
saved_flags
;
/* restore flags */
}
context
->
EFlags
&=
~
0x100
;
/* clear single-step flag */
...
...
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