diff options
-rw-r--r-- | sim/common/ChangeLog | 2 | ||||
-rw-r--r-- | sim/common/sim-signal.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index c27e7d7..2db4937 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -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. diff --git a/sim/common/sim-signal.c b/sim/common/sim-signal.c index e8fd10c..481299c 100644 --- a/sim/common/sim-signal.c +++ b/sim/common/sim-signal.c @@ -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 : |