* sim-signal.c (sim_signal_to_target): Fix typos.
authorMark Mitchell <mark@codesourcery.com>
Tue, 29 Nov 2005 02:43:06 +0000 (02:43 +0000)
committerMark Mitchell <mark@codesourcery.com>
Tue, 29 Nov 2005 02:43:06 +0000 (02:43 +0000)
sim/common/ChangeLog
sim/common/sim-signal.c

index c27e7d7551db76c282497620f0da7deff5de0138..2db4937be7e484ef1f0909be500703b9d6899dc7 100644 (file)
@@ -1,5 +1,7 @@
 2005-11-28  Mark Mitchell  <mark@codesourcery.com>
 
+       * sim-signal.c (sim_signal_to_target): Fix typos.
+
        * sim-reason.c (sim_stop_reason): Use
        sim_signal_to_target, not sim_signal_to_host.
        * sim-signal.c (sim_signal_to_host): Fix typo.
index e8fd10cffee28a0a987c43d9d636715857ea9c1f..481299ceeb2bda561d53296cce6804eb188c5010 100644 (file)
@@ -95,7 +95,7 @@ sim_signal_to_host (SIM_DESC sd, SIM_SIGNAL sig)
 #endif
 }
 
-int 
+enum target_signal 
 sim_signal_to_target (SIM_DESC sd, SIM_SIGNAL sig)
 {
   switch (sig)
@@ -115,7 +115,7 @@ sim_signal_to_target (SIM_DESC sd, SIM_SIGNAL sig)
     case SIM_SIGBUS :
       return TARGET_SIGNAL_BUS;
 
-    case SIM_SIGSEGV 
+    case SIM_SIGSEGV :
       return TARGET_SIGNAL_SEGV;
 
     case SIM_SIGXCPU :