From 255208590ad364f1a7815079676789070f29e21c Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Tue, 29 Nov 2005 02:43:06 +0000 Subject: [PATCH] * sim-signal.c (sim_signal_to_target): Fix typos. --- sim/common/ChangeLog | 2 ++ sim/common/sim-signal.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index c27e7d7551d..2db4937be7e 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,5 +1,7 @@ 2005-11-28 Mark Mitchell + * 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 e8fd10cffee..481299ceeb2 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 : -- 2.30.2