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
f4e23243
Commit
f4e23243
authored
Jan 03, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Use WAIT_EVENT_TIMEOUT in wait_for_breakpoint.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c2e82c64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
debugger.c
dlls/kernel32/tests/debugger.c
+4
-4
No files found.
dlls/kernel32/tests/debugger.c
View file @
f4e23243
...
...
@@ -390,13 +390,13 @@ static void next_event_(unsigned line, struct debugger_context *ctx, unsigned ti
#define wait_for_breakpoint(a) wait_for_breakpoint_(__LINE__,a)
static
void
wait_for_breakpoint_
(
unsigned
line
,
struct
debugger_context
*
ctx
)
{
do
next_event_
(
line
,
ctx
,
2000
);
do
next_event_
(
line
,
ctx
,
WAIT_EVENT_TIMEOUT
);
while
(
ctx
->
ev
.
dwDebugEventCode
==
LOAD_DLL_DEBUG_EVENT
||
ctx
->
ev
.
dwDebugEventCode
==
UNLOAD_DLL_DEBUG_EVENT
||
ctx
->
ev
.
dwDebugEventCode
==
CREATE_THREAD_DEBUG_EVENT
);
ok
(
ctx
->
ev
.
dwDebugEventCode
==
EXCEPTION_DEBUG_EVENT
,
"dwDebugEventCode = %d
\n
"
,
ctx
->
ev
.
dwDebugEventCode
);
ok
(
ctx
->
ev
.
u
.
Exception
.
ExceptionRecord
.
ExceptionCode
==
EXCEPTION_BREAKPOINT
,
"ExceptionCode = %x
\n
"
,
ctx
->
ev
.
u
.
Exception
.
ExceptionRecord
.
ExceptionCode
);
ok
_
(
__FILE__
,
line
)
(
ctx
->
ev
.
dwDebugEventCode
==
EXCEPTION_DEBUG_EVENT
,
"dwDebugEventCode = %d
\n
"
,
ctx
->
ev
.
dwDebugEventCode
);
ok
_
(
__FILE__
,
line
)
(
ctx
->
ev
.
u
.
Exception
.
ExceptionRecord
.
ExceptionCode
==
EXCEPTION_BREAKPOINT
,
"ExceptionCode = %x
\n
"
,
ctx
->
ev
.
u
.
Exception
.
ExceptionRecord
.
ExceptionCode
);
}
static
void
process_attach_events
(
struct
debugger_context
*
ctx
,
BOOL
pass_exception
)
...
...
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