2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
authorPierre Muller <muller@sourceware.org>
Tue, 5 Feb 2002 08:04:22 +0000 (08:04 +0000)
committerPierre Muller <muller@sourceware.org>
Tue, 5 Feb 2002 08:04:22 +0000 (08:04 +0000)
          win32-nat.c (handle_exception): Handle Ctrl-Break exception.

gdb/ChangeLog
gdb/win32-nat.c
gdb/windows-nat.c

index 7739c4b6d6cfd0aecf61bdecaf5e33a80ce3445a..ce826dcb56057d8ce136bda4c5c0d740d49692e4 100644 (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.
index f6895766e7a94041a9c388f951e04fe7506f5511..fe1c01cf1c4d765068f163b80fb15fddcadfc11a 100644 (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));
index f6895766e7a94041a9c388f951e04fe7506f5511..fe1c01cf1c4d765068f163b80fb15fddcadfc11a 100644 (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));