Index: win32-nat.c =================================================================== --- win32-nat.c (revision 130731) +++ win32-nat.c (working copy) @@ -1467,7 +1467,13 @@ win32_wait (ptid_t ptid, struct target_w while (1) { - int retval = get_win32_debug_event (pid, ourstatus); + int retval; + void (*ofunc) (int); + + ofunc = signal (SIGINT, SIG_IGN); + retval = get_win32_debug_event (pid, ourstatus); + signal (SIGINT, ofunc); + if (retval) return pid_to_ptid (retval); else