* windows-nat.c (ctrl_c_handler): Also handle CTRL_BREAK_EVENT.
[deliverable/binutils-gdb.git] / gdb / windows-nat.c
index c041c429e91769127952bf521362bfb655cb4dad..d8c2599b24475cda2923589796a0e8c027b109db 100644 (file)
@@ -1289,8 +1289,8 @@ ctrl_c_handler (DWORD event_type)
 {
   const int attach_flag = current_inferior ()->attach_flag;
 
-  /* Only handle Ctrl-C event.  Ignore others.  */
-  if (event_type != CTRL_C_EVENT)
+  /* Only handle Ctrl-C and Ctrl-Break events.  Ignore others.  */
+  if (event_type != CTRL_C_EVENT && event_type != CTRL_BREAK_EVENT)
     return FALSE;
 
   /* If the inferior and the debugger share the same console, do nothing as
This page took 0.036214 seconds and 4 git commands to generate.