diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-11-20 09:50:36 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-11-20 09:50:36 +0000 |
commit | 232156dee9f4c303e3ab320a5cb8a868ece8b0f4 (patch) | |
tree | 3275f8321d421f86d6661c8e605bb0286f7ea1b8 /sim/common/sim-signal.c | |
parent | a09a30d2986c11d9a971fe98952e90301e3c1a99 (diff) | |
download | gdb-232156dee9f4c303e3ab320a5cb8a868ece8b0f4.zip gdb-232156dee9f4c303e3ab320a5cb8a868ece8b0f4.tar.gz gdb-232156dee9f4c303e3ab320a5cb8a868ece8b0f4.tar.bz2 |
o Add SIM_SIGFPE to sim-signals
o Start SIM_SIG* at 64 so that the use of host signal numbers can be
detected and reported.
o Update MIPS simulator to use sim-signal.
Diffstat (limited to 'sim/common/sim-signal.c')
-rw-r--r-- | sim/common/sim-signal.c | 6 |
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); |