kernel32: Catch process creation breakpoint exceptions.
commitceeb11d2a6545ae9db0c6825fb8d26b5cfe71889
authorRémi Bernon <rbernon@codeweavers.com>
Fri, 3 Jul 2020 08:13:30 +0000 (3 10:13 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 3 Jul 2020 09:58:05 +0000 (3 11:58 +0200)
tree4f8fe8cda9d92a39cbd4b5de5fe7617e55ab19af
parent8bd5fe30014c2aa60f0c4570db4ef936e8c51245
kernel32: Catch process creation breakpoint exceptions.

Metal Gear Solid V: Ground Zeroes attaches itself and continues this
specific breakpoint with DBG_EXCEPTION_NOT_HANDLED. It crashes the
child process and the game terminates.

It is correct for old Windows versions, but more recent versions are
apparently catching exceptions here, and the process should continue.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44127
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/kernel32/process.c
dlls/kernel32/tests/debugger.c