aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/sim-signal.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 84c62b6..966b0ea 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,7 @@
+Fri Nov 21 09:32:32 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * sim-signal.c (sim_signal_to_host): Return 0 for SIM_SIGNONE.
+
Thu Nov 20 20:35:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
* sim-signal.h: Start simulator signals at 64 so that host signal
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);