[PATCH] server: if a debugger is attached to a process, the DEBUG_ONLY_THIS_PROCESS should get set
Alexandre Julliard
julliard at winehq.org
Fri Sep 2 12:47:02 CDT 2011
Bernhard Loos <bernhardloos at googlemail.com> writes:
> @@ -825,6 +825,9 @@ int set_process_debug_flag( struct process *process, int flag )
> {
> char data = (flag != 0);
>
> + process->create_flags = (process->create_flags & ~(DEBUG_PROCESS | DEBUG_ONLY_THIS_PROCESS))
> + | flag;
> +
I don't think this belongs in set_process_debug_flag, that's a different
flag. Also I don't see what DEBUG_PROCESS is here for.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list