diff options
author | Pedro Alves <palves@redhat.com> | 2012-05-24 17:38:54 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-05-24 17:38:54 +0000 |
commit | 2c1fa544e14e0fa78b842c50c03b49dcfd3f6e02 (patch) | |
tree | 36a6dbc0487efa6d2ed542cea8450ea4440e28d3 /sim | |
parent | 22203bbfb7c46db2901fa8a10d604bfc38dabfc7 (diff) | |
download | gdb-2c1fa544e14e0fa78b842c50c03b49dcfd3f6e02.zip gdb-2c1fa544e14e0fa78b842c50c03b49dcfd3f6e02.tar.gz gdb-2c1fa544e14e0fa78b842c50c03b49dcfd3f6e02.tar.bz2 |
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.
Diffstat (limited to 'sim')
-rw-r--r-- | sim/common/ChangeLog | 8 | ||||
-rw-r--r-- | sim/common/sim-reason.c | 2 | ||||
-rw-r--r-- | sim/common/sim-signal.c | 2 | ||||
-rw-r--r-- | sim/common/sim-signal.h | 2 |
4 files changed, 11 insertions, 3 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index da63533..54a5613 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,5 +1,13 @@ 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 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. diff --git a/sim/common/sim-reason.c b/sim/common/sim-reason.c index 93d5c7c..f24161d 100644 --- a/sim/common/sim-reason.c +++ b/sim/common/sim-reason.c @@ -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 (); diff --git a/sim/common/sim-signal.c b/sim/common/sim-signal.c index a34180d..5aff15f 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) } 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) { diff --git a/sim/common/sim-signal.h b/sim/common/sim-signal.h index 0d23dd4..13cbe5b 100644 --- a/sim/common/sim-signal.h +++ b/sim/common/sim-signal.h @@ -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 */ |