2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>

win32-nat.c (handle_exception): Handle Ctrl-Break exception.
This commit is contained in:
Pierre Muller
2002-02-05 08:04:22 +00:00
parent 126730bd1c
commit 5b421780f1
3 changed files with 15 additions and 0 deletions

View File

@ -867,6 +867,12 @@ handle_exception (struct target_waitstatus *ourstatus)
ourstatus->value.sig = TARGET_SIGNAL_INT;
last_sig = SIGINT; /* FIXME - should check pass state */
break;
case DBG_CONTROL_BREAK:
DEBUG_EXCEPT (("gdb: Target exception CONTROL_BREAK at 0x%08lx\n",
(DWORD) current_event.u.Exception.ExceptionRecord.ExceptionAddress));
ourstatus->value.sig = TARGET_SIGNAL_INT;
last_sig = SIGINT; /* FIXME - should check pass state */
break;
case EXCEPTION_SINGLE_STEP:
DEBUG_EXCEPT (("gdb: Target exception SINGLE_STEP at 0x%08lx\n",
(DWORD) current_event.u.Exception.ExceptionRecord.ExceptionAddress));