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=51766 Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ff7ff4d0b4
commit
4a206a7ecb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue