aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/main.c b/gdb/main.c
index c937921..284acc3 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -2247,6 +2247,7 @@ int signo;
{
/* This message is based on ANSI C, section 4.7. Note that integer
divide by zero causes this, so "float" is a misnomer. */
+ signal (SIGFPE, float_handler);
error ("Erroneous arithmetic operation.");
}