diff options
author | Mark Mitchell <mark@codesourcery.com> | 2005-11-29 02:43:06 +0000 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 2005-11-29 02:43:06 +0000 |
commit | 255208590ad364f1a7815079676789070f29e21c (patch) | |
tree | eba336a4c8c47edbdc858566d4f50f8416bbc368 | |
parent | 3c51939b03bb84a016c6630e61f6d43e30c528e4 (diff) | |
download | gdb-255208590ad364f1a7815079676789070f29e21c.zip gdb-255208590ad364f1a7815079676789070f29e21c.tar.gz gdb-255208590ad364f1a7815079676789070f29e21c.tar.bz2 |
* sim-signal.c (sim_signal_to_target): Fix typos.
-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 : |