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
4fca1693
Commit
4fca1693
authored
Apr 09, 2014
by
Piotr Caban
Committed by
Alexandre Julliard
Apr 09, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Don't debug children when DEBUG_PROCESS and DEBUG_ONLY_THIS_PROCESS…
server: Don't debug children when DEBUG_PROCESS and DEBUG_ONLY_THIS_PROCESS flags are passed to CreateProcess.
parent
081df721
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
debugger.c
dlls/kernel32/tests/debugger.c
+1
-0
process.c
server/process.c
+2
-1
No files found.
dlls/kernel32/tests/debugger.c
View file @
4fca1693
...
...
@@ -846,6 +846,7 @@ START_TEST(debugger)
test_debug_loop
(
myARGC
,
myARGV
);
test_debug_children
(
myARGV
[
0
],
DEBUG_PROCESS
,
TRUE
);
test_debug_children
(
myARGV
[
0
],
DEBUG_ONLY_THIS_PROCESS
,
FALSE
);
test_debug_children
(
myARGV
[
0
],
DEBUG_PROCESS
|
DEBUG_ONLY_THIS_PROCESS
,
FALSE
);
test_debug_children
(
myARGV
[
0
],
0
,
FALSE
);
}
}
server/process.c
View file @
4fca1693
...
...
@@ -955,7 +955,8 @@ DECL_HANDLER(new_process)
if
(
!
(
thread
=
create_process
(
socket_fd
,
current
,
req
->
inherit_all
)))
goto
done
;
process
=
thread
->
process
;
process
->
debug_children
=
!!
(
req
->
create_flags
&
DEBUG_PROCESS
);
process
->
debug_children
=
(
req
->
create_flags
&
DEBUG_PROCESS
)
&&
!
(
req
->
create_flags
&
DEBUG_ONLY_THIS_PROCESS
);
process
->
startup_info
=
(
struct
startup_info
*
)
grab_object
(
info
);
/* connect to the window station */
...
...
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