aboutsummaryrefslogtreecommitdiff
path: root/sim/cris
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-04-18 04:38:33 -0400
committerMike Frysinger <vapier@gentoo.org>2015-04-18 04:40:27 -0400
commit3ebe2863f79e04d841e6b97594ec032d2bfad1b8 (patch)
tree063ca8ca4b1d09200b23299012846112b282b972 /sim/cris
parente8d3a34fee495d7d44e6bf8e13d472b33f847635 (diff)
downloadfsf-binutils-gdb-3ebe2863f79e04d841e6b97594ec032d2bfad1b8.zip
fsf-binutils-gdb-3ebe2863f79e04d841e6b97594ec032d2bfad1b8.tar.gz
fsf-binutils-gdb-3ebe2863f79e04d841e6b97594ec032d2bfad1b8.tar.bz2
sim: clean up duplicate sim-engine hooks
Now that we've unified sim-cpu, we can delete the duplicate sim-engine hooks -- these targets defined these only because they didn't fully implement the sim-cpu callbacks.
Diffstat (limited to 'sim/cris')
-rw-r--r--sim/cris/ChangeLog4
-rw-r--r--sim/cris/sim-main.h11
2 files changed, 4 insertions, 11 deletions
diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog
index f3e0dbd..23c739d 100644
--- a/sim/cris/ChangeLog
+++ b/sim/cris/ChangeLog
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESTART_HOOK): Delete.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (USING_SIM_BASE_H): Delete.
2015-04-18 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/cris/sim-main.h b/sim/cris/sim-main.h
index d1a7c1e..4dc04a2 100644
--- a/sim/cris/sim-main.h
+++ b/sim/cris/sim-main.h
@@ -30,17 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#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"