2012-05-24 Pedro Alves <palves@redhat.com>
* sim-signal.h (sim_signal_to_target): Rename to ... (sim_signal_to_gdb_signal): ... this. * sim-signal.c (sim_signal_to_target): Rename to ... (sim_signal_to_gdb_signal): ... this. * sim-reason.c (sim_stop_reason): Adjust to rename.
This commit is contained in:
parent
22203bbfb7
commit
2c1fa544e1
@ -1,3 +1,11 @@
|
||||
2012-05-24 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* sim-signal.h (sim_signal_to_target): Rename to ...
|
||||
(sim_signal_to_gdb_signal): ... this.
|
||||
* sim-signal.c (sim_signal_to_target): Rename to ...
|
||||
(sim_signal_to_gdb_signal): ... this.
|
||||
* sim-reason.c (sim_stop_reason): Adjust to rename.
|
||||
|
||||
2012-05-24 Pedro Alves <palves@redhat.com>
|
||||
|
||||
PR gdb/7205
|
||||
|
@ -36,7 +36,7 @@ sim_stop_reason (SIM_DESC sd, enum sim_stop *reason, int *sigrc)
|
||||
break;
|
||||
case sim_stopped :
|
||||
case sim_signalled :
|
||||
*sigrc = sim_signal_to_target (sd, engine->sigrc);
|
||||
*sigrc = sim_signal_to_gdb_signal (sd, engine->sigrc);
|
||||
break;
|
||||
default :
|
||||
abort ();
|
||||
|
@ -95,7 +95,7 @@ sim_signal_to_host (SIM_DESC sd, SIM_SIGNAL sig)
|
||||
}
|
||||
|
||||
enum gdb_signal
|
||||
sim_signal_to_target (SIM_DESC sd, SIM_SIGNAL sig)
|
||||
sim_signal_to_gdb_signal (SIM_DESC sd, SIM_SIGNAL sig)
|
||||
{
|
||||
switch (sig)
|
||||
{
|
||||
|
@ -46,6 +46,6 @@ typedef enum {
|
||||
} SIM_SIGNAL;
|
||||
|
||||
int sim_signal_to_host (SIM_DESC sd, SIM_SIGNAL);
|
||||
enum gdb_signal sim_signal_to_target (SIM_DESC sd, SIM_SIGNAL);
|
||||
enum gdb_signal sim_signal_to_gdb_signal (SIM_DESC sd, SIM_SIGNAL);
|
||||
|
||||
#endif /* SIM_SIGNAL_H */
|
||||
|
Loading…
x
Reference in New Issue
Block a user