|
|
|
@ -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
|
|
|
|
|