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

@ -1,3 +1,6 @@
2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
* win32-nat.c (handle_exception): Handle Ctrl-Break exception.
2002-02-04 Andrew Cagney <ac131313@redhat.com>
* cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.

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));

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));