mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 12:39:59 +00:00
* windows-nat.c (ctrl_c_handler): Also handle CTRL_BREAK_EVENT.
This commit is contained in:
parent
76ba998616
commit
bb0613a5d5
@ -1,3 +1,7 @@
|
||||
2009-09-22 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||
|
||||
* windows-nat.c (ctrl_c_handler): Also handle CTRL_BREAK_EVENT.
|
||||
|
||||
2009-09-18 Keith Seitz <keiths@redhat.com>
|
||||
|
||||
* cp-support.h (cp_validate_operator): Declare new function.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user