import gdb-2000-01-10 snapshot
authorJason Molenda <jmolenda@apple.com>
Tue, 11 Jan 2000 03:07:26 +0000 (03:07 +0000)
committerJason Molenda <jmolenda@apple.com>
Tue, 11 Jan 2000 03:07:26 +0000 (03:07 +0000)
gdb/windows-nat.c

index b5ef062ed428fe83f127a576a273f12c05306bb0..a48c86d2ac25ad375c53aabb09d14488f402ba62 100644 (file)
@@ -571,6 +571,15 @@ handle_exception (struct target_waitstatus *ourstatus)
       ourstatus->value.sig = TARGET_SIGNAL_SEGV;
       continue_status = DBG_EXCEPTION_NOT_HANDLED;
       break;
+    case STATUS_FLOAT_UNDERFLOW:
+    case STATUS_FLOAT_DIVIDE_BY_ZERO:
+    case STATUS_FLOAT_OVERFLOW:
+    case STATUS_INTEGER_DIVIDE_BY_ZERO:
+      DEBUG_EXCEPT (("gdb: Target exception STACK_OVERFLOW at 0x%08x\n",
+              current_event.u.Exception.ExceptionRecord.ExceptionAddress));
+      ourstatus->value.sig = TARGET_SIGNAL_FPE;
+      continue_status = DBG_EXCEPTION_NOT_HANDLED;
+      break;
     case STATUS_STACK_OVERFLOW:
       DEBUG_EXCEPT (("gdb: Target exception STACK_OVERFLOW at 0x%08x\n",
               current_event.u.Exception.ExceptionRecord.ExceptionAddress));