aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-signal.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-11-20 22:56:11 +0000
committerAndrew Cagney <cagney@redhat.com>1997-11-20 22:56:11 +0000
commita1cf18dc760d9dda86e9f90d73505ea21714ce2a (patch)
tree535e040406a5678d0209442c0934d0d139bd27a6 /sim/common/sim-signal.c
parent04b26b00083c4f3db8c87c29b9410baa0f5a14d6 (diff)
downloadgdb-a1cf18dc760d9dda86e9f90d73505ea21714ce2a.zip
gdb-a1cf18dc760d9dda86e9f90d73505ea21714ce2a.tar.gz
gdb-a1cf18dc760d9dda86e9f90d73505ea21714ce2a.tar.bz2
Pacify GCC - SIM_SIGNONE missing in enum, xmalloc/free VS ZALLOC/zfree.
Diffstat (limited to 'sim/common/sim-signal.c')
-rw-r--r--sim/common/sim-signal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/common/sim-signal.c b/sim/common/sim-signal.c
index e546ae7..d9481c1 100644
--- a/sim/common/sim-signal.c
+++ b/sim/common/sim-signal.c
@@ -78,6 +78,10 @@ sim_signal_to_host (SIM_DESC sd, SIM_SIGNAL sig)
return SIGFPE;
#endif
break;
+
+ case SIM_SIGNONE:
+ return 0;
+ break;
}
sim_io_eprintf (sd, "sim_signal_to_host: unknown signal: %d\n", sig);