diff --git a/programs/winedbg/gdbproxy.c b/programs/winedbg/gdbproxy.c index 0fb27023957..8d8ae30fce5 100644 --- a/programs/winedbg/gdbproxy.c +++ b/programs/winedbg/gdbproxy.c @@ -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;