diff options
author | Jason Molenda <jmolenda@apple.com> | 2000-01-11 03:07:37 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2000-01-11 03:07:37 +0000 |
commit | 0d06e24ba79bdc3617c5e56a2c32b3a7f28a4bd5 (patch) | |
tree | 9533ed688a9ea7eca9bcad984dfda07fecc420bb /gdb/win32-nat.c | |
parent | 3b7c8b741463f04bc932f698f9a68c64ff797992 (diff) | |
download | gdb-0d06e24ba79bdc3617c5e56a2c32b3a7f28a4bd5.zip gdb-0d06e24ba79bdc3617c5e56a2c32b3a7f28a4bd5.tar.gz gdb-0d06e24ba79bdc3617c5e56a2c32b3a7f28a4bd5.tar.bz2 |
import gdb-2000-01-10 snapshot
Diffstat (limited to 'gdb/win32-nat.c')
-rw-r--r-- | gdb/win32-nat.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c index b5ef062..a48c86d 100644 --- a/gdb/win32-nat.c +++ b/gdb/win32-nat.c @@ -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)); |