diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog index f3e0dbdf51..23c739d375 100644 --- a/sim/cris/ChangeLog +++ b/sim/cris/ChangeLog @@ -1,3 +1,7 @@ +2015-04-18 Mike Frysinger + + * sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESTART_HOOK): Delete. + 2015-04-18 Mike Frysinger * sim-main.h (USING_SIM_BASE_H): Delete. diff --git a/sim/cris/sim-main.h b/sim/cris/sim-main.h index d1a7c1e7b2..4dc04a2caa 100644 --- a/sim/cris/sim-main.h +++ b/sim/cris/sim-main.h @@ -30,17 +30,6 @@ along with this program. If not, see . */ #include "cris-desc.h" #include "cris-opc.h" #include "arch.h" - -#define SIM_ENGINE_HALT_HOOK(sd, cpu, cia) \ -do { \ - if (cpu) /* Null if ctrl-c. */ \ - sim_pc_set ((cpu), (cia)); \ -} while (0) -#define SIM_ENGINE_RESTART_HOOK(sd, cpu, cia) \ -do { \ - sim_pc_set ((cpu), (cia)); \ -} while (0) - #include "sim-base.h" #include "cgen-sim.h" #include "cris-sim.h" diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog index 77f9b81156..4cb55c555b 100644 --- a/sim/lm32/ChangeLog +++ b/sim/lm32/ChangeLog @@ -1,3 +1,7 @@ +2015-04-18 Mike Frysinger + + * sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESTART_HOOK): Delete. + 2015-04-18 Mike Frysinger * sim-main.h (USING_SIM_BASE_H): Delete. diff --git a/sim/lm32/sim-main.h b/sim/lm32/sim-main.h index a25c7dd85d..4894e8d65b 100644 --- a/sim/lm32/sim-main.h +++ b/sim/lm32/sim-main.h @@ -29,17 +29,6 @@ #include "lm32-desc.h" #include "lm32-opc.h" #include "arch.h" - -#define SIM_ENGINE_HALT_HOOK(sd, cpu, cia) \ -do { \ - if (cpu) /* null if ctrl-c */ \ - sim_pc_set ((cpu), (cia)); \ -} while (0) -#define SIM_ENGINE_RESTART_HOOK(sd, cpu, cia) \ -do { \ - sim_pc_set ((cpu), (cia)); \ -} while (0) - #include "sim-base.h" #include "cgen-sim.h" #include "lm32-sim.h" diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog index 397f3a852f..c85b181af7 100644 --- a/sim/m32r/ChangeLog +++ b/sim/m32r/ChangeLog @@ -1,3 +1,7 @@ +2015-04-18 Mike Frysinger + + * sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESTART_HOOK): Delete. + 2015-04-18 Mike Frysinger * sim-main.h (USING_SIM_BASE_H): Delete. diff --git a/sim/m32r/sim-main.h b/sim/m32r/sim-main.h index 0f539a0f73..cd39e98c02 100644 --- a/sim/m32r/sim-main.h +++ b/sim/m32r/sim-main.h @@ -9,17 +9,6 @@ #include "m32r-desc.h" #include "m32r-opc.h" #include "arch.h" - -#define SIM_ENGINE_HALT_HOOK(sd, cpu, cia) \ -do { \ - if (cpu) /* null if ctrl-c */ \ - sim_pc_set ((cpu), (cia)); \ -} while (0) -#define SIM_ENGINE_RESTART_HOOK(sd, cpu, cia) \ -do { \ - sim_pc_set ((cpu), (cia)); \ -} while (0) - #include "sim-base.h" #include "cgen-sim.h" #include "m32r-sim.h" diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 51b4b29716..1feeb83d5b 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,8 @@ +2015-04-18 Mike Frysinger + + * sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESTART_HOOK): Delete + comments. + 2015-04-18 Mike Frysinger * sim-main.h (SIM_CPU): Delete. diff --git a/sim/mips/sim-main.h b/sim/mips/sim-main.h index e6bbd518c0..c87b8e67b8 100644 --- a/sim/mips/sim-main.h +++ b/sim/mips/sim-main.h @@ -20,10 +20,6 @@ along with this program. If not, see . */ #ifndef SIM_MAIN_H #define SIM_MAIN_H -/* This simulator doesn't cache the Current Instruction Address */ -/* #define SIM_ENGINE_HALT_HOOK(SD, LAST_CPU, CIA) */ -/* #define SIM_ENGINE_RESUME_HOOK(SD, LAST_CPU, CIA) */ - /* hobble some common features for moment */ #define WITH_WATCHPOINTS 1 #define WITH_MODULO_MEMORY 1