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
0963b846
Commit
0963b846
authored
Mar 14, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Mask reserved bits before testing dr7.
Also some spelling fixes.
parent
7d12fbcc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
exception.c
dlls/ntdll/tests/exception.c
+4
-4
No files found.
dlls/ntdll/tests/exception.c
View file @
0963b846
...
@@ -321,7 +321,7 @@ static void run_rtlraiseexception_test(DWORD exceptioncode)
...
@@ -321,7 +321,7 @@ static void run_rtlraiseexception_test(DWORD exceptioncode)
pNtCurrentTeb
()
->
Tib
.
ExceptionList
=
frame
.
Prev
;
pNtCurrentTeb
()
->
Tib
.
ExceptionList
=
frame
.
Prev
;
}
}
static
void
test_rtlraiseexc
pe
tion
(
void
)
static
void
test_rtlraiseexc
ep
tion
(
void
)
{
{
if
(
!
pRtlRaiseException
)
if
(
!
pRtlRaiseException
)
{
{
...
@@ -553,7 +553,7 @@ static void test_exceptions(void)
...
@@ -553,7 +553,7 @@ static void test_exceptions(void)
res
=
pNtGetContextThread
(
GetCurrentThread
(),
&
ctx
);
res
=
pNtGetContextThread
(
GetCurrentThread
(),
&
ctx
);
ok
(
res
==
STATUS_SUCCESS
,
"NtGetContextThread failed with %x
\n
"
,
res
);
ok
(
res
==
STATUS_SUCCESS
,
"NtGetContextThread failed with %x
\n
"
,
res
);
ok
(
ctx
.
Dr0
==
0x42424242
,
"failed to set debugregister 0 to 0x42424242, got %x
\n
"
,
ctx
.
Dr0
);
ok
(
ctx
.
Dr0
==
0x42424242
,
"failed to set debugregister 0 to 0x42424242, got %x
\n
"
,
ctx
.
Dr0
);
ok
(
ctx
.
Dr7
==
0x155
,
"failed to set debugregister 7 to 0x155, got %x
\n
"
,
ctx
.
Dr7
);
ok
(
(
ctx
.
Dr7
&
~
0xdc00
)
==
0x155
,
"failed to set debugregister 7 to 0x155, got %x
\n
"
,
ctx
.
Dr7
);
/* test single stepping behavior */
/* test single stepping behavior */
got_exception
=
0
;
got_exception
=
0
;
...
@@ -644,7 +644,7 @@ static void test_debugger(void)
...
@@ -644,7 +644,7 @@ static void test_debugger(void)
status
=
pNtGetContextThread
(
pi
.
hThread
,
&
ctx
);
status
=
pNtGetContextThread
(
pi
.
hThread
,
&
ctx
);
ok
(
!
status
,
"NtGetContextThread failed with 0x%x
\n
"
,
status
);
ok
(
!
status
,
"NtGetContextThread failed with 0x%x
\n
"
,
status
);
trace
(
"exc
pe
tion 0x%x at %p firstchance=%d Eip=0x%x, Eax=0x%x
\n
"
,
trace
(
"exc
ep
tion 0x%x at %p firstchance=%d Eip=0x%x, Eax=0x%x
\n
"
,
de
.
u
.
Exception
.
ExceptionRecord
.
ExceptionCode
,
de
.
u
.
Exception
.
ExceptionRecord
.
ExceptionCode
,
de
.
u
.
Exception
.
ExceptionRecord
.
ExceptionAddress
,
de
.
u
.
Exception
.
dwFirstChance
,
ctx
.
Eip
,
ctx
.
Eax
);
de
.
u
.
Exception
.
ExceptionRecord
.
ExceptionAddress
,
de
.
u
.
Exception
.
dwFirstChance
,
ctx
.
Eip
,
ctx
.
Eax
);
...
@@ -862,7 +862,7 @@ START_TEST(exception)
...
@@ -862,7 +862,7 @@ START_TEST(exception)
test_prot_fault
();
test_prot_fault
();
test_exceptions
();
test_exceptions
();
test_rtlraiseexc
pe
tion
();
test_rtlraiseexc
ep
tion
();
test_debugger
();
test_debugger
();
test_simd_exceptions
();
test_simd_exceptions
();
...
...
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