aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-25 04:45:57 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-25 04:47:31 -0500
commitcf59f47ebeccf4ea82b6c529c882644e4c445323 (patch)
treeadc65ec3df76baa691de9c3498340380b5fa4ce1 /sim
parent0d58595077841917ad57c9f8d2a61184a504ef40 (diff)
downloadgdb-cf59f47ebeccf4ea82b6c529c882644e4c445323.zip
gdb-cf59f47ebeccf4ea82b6c529c882644e4c445323.tar.gz
gdb-cf59f47ebeccf4ea82b6c529c882644e4c445323.tar.bz2
sim: drop WITH_ENGINE define
We enable this everywhere already, and all new ports should use the engine logic, so no point in making it an option to disable.
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog5
-rw-r--r--sim/common/sim-config.h13
-rw-r--r--sim/common/sim-module.c2
3 files changed, 5 insertions, 15 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 09f29bb..e6ac042 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,10 @@
2015-12-25 Mike Frysinger <vapier@gentoo.org>
+ * sim-config.h (WITH_ENGINE): Delete.
+ * sim-module.c (modules): Always include sim_engine_install.
+
+2015-12-25 Mike Frysinger <vapier@gentoo.org>
+
* Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-model.o.
* cgen-types.h (SIM_HAVE_MODEL): Delete.
* sim-base.h: Always include sim-model.h.
diff --git a/sim/common/sim-config.h b/sim/common/sim-config.h
index 064d936..cbe656a 100644
--- a/sim/common/sim-config.h
+++ b/sim/common/sim-config.h
@@ -454,19 +454,6 @@ extern int current_floating_point;
#endif
-
-/* Engine module.
-
- Use the common start/stop/restart framework (sim-engine).
- Simulators using the other modules but not the engine should define
- WITH_ENGINE=0. */
-
-#ifndef WITH_ENGINE
-#define WITH_ENGINE 1
-#endif
-
-
-
/* Debugging:
Control the inclusion of debugging code.
diff --git a/sim/common/sim-module.c b/sim/common/sim-module.c
index 670225b..3d49f57 100644
--- a/sim/common/sim-module.c
+++ b/sim/common/sim-module.c
@@ -41,9 +41,7 @@ static MODULE_INSTALL_FN * const modules[] = {
standard_install,
sim_events_install,
sim_model_install,
-#if WITH_ENGINE
sim_engine_install,
-#endif
#if WITH_TRACE_ANY_P
trace_install,
#endif