2012-05-24 Pedro Alves <palves@redhat.com>
authorPedro Alves <palves@redhat.com>
Thu, 24 May 2012 17:38:54 +0000 (17:38 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 24 May 2012 17:38:54 +0000 (17:38 +0000)
* 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.

sim/common/ChangeLog
sim/common/sim-reason.c
sim/common/sim-signal.c
sim/common/sim-signal.h

index da63533024bcb43c510ff1454bc2f42d62e6ea9d..54a56134ffadcb2fd15993f466b80f925e7c3e8a 100644 (file)
@@ -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
index 93d5c7cc59490eea69c3c449c29e1cc0e713edbe..f24161d8d04a2747ffe0bfdcee6b9045616e89c4 100644 (file)
@@ -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 ();
index a34180db9c5a4b09a9169384bb3c7a80c5cbe8bd..5aff15f58a694478fba0eaac561399549bd3a893 100644 (file)
@@ -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)
     {
index 0d23dd40aeddafd86d733bf1b9d10be3f0defafb..13cbe5b41f224fc6385b905a34daa67bc3e42bb3 100644 (file)
@@ -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 */