Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c948e841
Commit
c948e841
authored
Aug 24, 2015
by
Sebastian Lackner
Committed by
Alexandre Julliard
Aug 24, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Properly inherit debug_children flag when creating new process.
parent
60d159af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
process.c
server/process.c
+6
-2
No files found.
server/process.c
View file @
c948e841
...
...
@@ -1181,8 +1181,6 @@ 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
)
&&
!
(
req
->
create_flags
&
DEBUG_ONLY_THIS_PROCESS
);
process
->
startup_info
=
(
struct
startup_info
*
)
grab_object
(
info
);
if
(
parent
->
job
...
...
@@ -1223,9 +1221,15 @@ DECL_HANDLER(new_process)
/* attach to the debugger if requested */
if
(
req
->
create_flags
&
(
DEBUG_PROCESS
|
DEBUG_ONLY_THIS_PROCESS
))
{
set_process_debugger
(
process
,
current
);
process
->
debug_children
=
!
(
req
->
create_flags
&
DEBUG_ONLY_THIS_PROCESS
);
}
else
if
(
parent
->
debugger
&&
parent
->
debug_children
)
{
set_process_debugger
(
process
,
parent
->
debugger
);
process
->
debug_children
=
1
;
}
if
(
!
(
req
->
create_flags
&
CREATE_NEW_PROCESS_GROUP
))
process
->
group_id
=
parent
->
group_id
;
...
...
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