Commit 4a206a7e authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winedbg: In gdb proxy mode, ignore ctrl-c.

Let gdb handle the control-c instead of killing winedbg. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51766Signed-off-by: 's avatarEric Pouech <eric.pouech@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent ff7ff4d0
......@@ -2499,6 +2499,8 @@ static int gdb_remote(unsigned flags, unsigned port)
struct gdb_context gdbctx;
if (!gdb_init_context(&gdbctx, flags, port)) return 0;
/* don't handle ctrl-c, but let gdb do the job */
SetConsoleCtrlHandler(NULL, TRUE);
for (;;)
{
fd_set read_fds, err_fds;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment