aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-24 17:01:21 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-24 20:03:14 -0500
commit84e8e361dd3a3dd7314759f7f07927dac401d0e6 (patch)
tree8258689d3cd0636c5661b3892b5ec1d275627081 /sim/common
parent3cabaf66d6ec7343bd3badc5c44c2ddd06221913 (diff)
downloadgdb-84e8e361dd3a3dd7314759f7f07927dac401d0e6.zip
gdb-84e8e361dd3a3dd7314759f7f07927dac401d0e6.tar.gz
gdb-84e8e361dd3a3dd7314759f7f07927dac401d0e6.tar.bz2
sim: enable watchpoint module everywhere
We build & bundle the watchpoint module everywhere, but we don't make the command line flags available by default. A few targets opted in, but most did not. Just enable the flag for everyone. Not all targets will respect the flags (making them nops), but shouldn't be a big deal. This is how we handle other common modules already.
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog5
-rw-r--r--sim/common/sim-module.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 80fc164..b740a17 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,10 @@
2015-12-24 Mike Frysinger <vapier@gentoo.org>
+ * sim-module.c [WITH_WATCHPOINTS] (modules): Always call
+ sim_watchpoint_install.
+
+2015-12-24 Mike Frysinger <vapier@gentoo.org>
+
* sim-base.h [SIM_HAVE_FLATMEM] (sim_state_base): Delete flatmem code.
* sim-module.c [SIM_HAVE_FLATMEM] (modules): Always call
sim_memopt_install.
diff --git a/sim/common/sim-module.c b/sim/common/sim-module.c
index afadb07..8498f80 100644
--- a/sim/common/sim-module.c
+++ b/sim/common/sim-module.c
@@ -54,9 +54,7 @@ static MODULE_INSTALL_FN * const modules[] = {
#endif
sim_core_install,
sim_memopt_install,
-#if WITH_WATCHPOINTS
sim_watchpoint_install,
-#endif
#if WITH_SCACHE
scache_install,
#endif