This commit was manufactured by cvs2svn to create branch
[external/binutils.git] / sim / common / sim-signal.c
index e546ae7..77709b1 100644 (file)
@@ -34,6 +34,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #ifndef SIGBUS
 #define SIGBUS 10
 #endif
+#ifndef SIGQUIT
+#define SIGQUIT 3
+#endif
 #endif
 
 int
@@ -78,6 +81,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);