aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-signal.c')
-rw-r--r--sim/common/sim-signal.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sim/common/sim-signal.c b/sim/common/sim-signal.c
index 23d4c97..e546ae7 100644
--- a/sim/common/sim-signal.c
+++ b/sim/common/sim-signal.c
@@ -72,6 +72,12 @@ sim_signal_to_host (SIM_DESC sd, SIM_SIGNAL sig)
return SIGXCPU;
#endif
break;
+
+ case SIM_SIGFPE:
+#ifdef SIGXCPU
+ return SIGFPE;
+#endif
+ break;
}
sim_io_eprintf (sd, "sim_signal_to_host: unknown signal: %d\n", sig);