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
98fba5e5
Commit
98fba5e5
authored
Jun 22, 2008
by
Dan Kegel
Committed by
Alexandre Julliard
Jun 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Initialize a few variables.
parent
32393796
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
debugger.c
dlls/kernel32/tests/debugger.c
+4
-0
No files found.
dlls/kernel32/tests/debugger.c
View file @
98fba5e5
...
...
@@ -137,6 +137,7 @@ static void doDebugger(int argc, char** argv)
logfile
=
(
argc
>=
4
?
argv
[
3
]
:
NULL
);
blackbox
.
pid
=
(
argc
>=
5
?
atol
(
argv
[
4
])
:
0
);
blackbox
.
attach_err
=
0
;
if
(
strstr
(
myARGV
[
2
],
"attach"
))
{
blackbox
.
attach_rc
=
DebugActiveProcess
(
blackbox
.
pid
);
...
...
@@ -147,6 +148,7 @@ static void doDebugger(int argc, char** argv)
blackbox
.
attach_rc
=
TRUE
;
debug_event
=
(
argc
>=
6
?
(
HANDLE
)
atol
(
argv
[
5
])
:
NULL
);
blackbox
.
debug_err
=
0
;
if
(
debug_event
&&
strstr
(
myARGV
[
2
],
"event"
))
{
blackbox
.
debug_rc
=
SetEvent
(
debug_event
);
...
...
@@ -163,6 +165,7 @@ static void doDebugger(int argc, char** argv)
WaitForSingleObject
(
start_event
,
INFINITE
);
}
blackbox
.
nokill_err
=
0
;
if
(
strstr
(
myARGV
[
2
],
"nokill"
))
{
blackbox
.
nokill_rc
=
pDebugSetProcessKillOnExit
(
FALSE
);
...
...
@@ -172,6 +175,7 @@ static void doDebugger(int argc, char** argv)
else
blackbox
.
nokill_rc
=
TRUE
;
blackbox
.
detach_err
=
0
;
if
(
strstr
(
myARGV
[
2
],
"detach"
))
{
blackbox
.
detach_rc
=
pDebugActiveProcessStop
(
blackbox
.
pid
);
...
...
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