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
8430d43d
Commit
8430d43d
authored
Jan 19, 2006
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Jan 19, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel: Remove calls to Nt[Get|Set]ThreadContext.
It's done in exception handler now.
parent
55303936
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
instr.c
dlls/kernel/instr.c
+0
-6
No files found.
dlls/kernel/instr.c
View file @
8430d43d
...
...
@@ -568,8 +568,6 @@ DWORD INSTR_EmulateInstruction( EXCEPTION_RECORD *rec, CONTEXT86 *context )
switch
(
instr
[
2
])
{
case
0xc8
:
/* mov dr1, eax */
context
->
ContextFlags
=
CONTEXT_DEBUG_REGISTERS
;
NtGetContextThread
(
GetCurrentThread
(),
context
);
TRACE
(
"mov dr1,eax at 0x%08lx
\n
"
,
context
->
Eip
);
context
->
Eax
=
context
->
Dr1
;
context
->
Eip
+=
prefixlen
+
3
;
...
...
@@ -587,12 +585,8 @@ DWORD INSTR_EmulateInstruction( EXCEPTION_RECORD *rec, CONTEXT86 *context )
switch
(
instr
[
2
])
{
case
0xc8
:
/* mov eax, dr1 */
context
->
ContextFlags
=
CONTEXT_DEBUG_REGISTERS
;
NtGetContextThread
(
GetCurrentThread
(),
context
);
context
->
Dr1
=
context
->
Eax
;
context
->
Eip
+=
prefixlen
+
3
;
context
->
ContextFlags
=
CONTEXT_DEBUG_REGISTERS
;
NtSetContextThread
(
GetCurrentThread
(),
context
);
return
ExceptionContinueExecution
;
}
ERR
(
"Unsupported DR register, eip+2 is %02x
\n
"
,
instr
[
2
]);
...
...
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