From 84e8e361dd3a3dd7314759f7f07927dac401d0e6 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 24 Dec 2015 17:01:21 -0500 Subject: 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. --- sim/common/ChangeLog | 5 +++++ sim/common/sim-module.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'sim/common') 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 + * sim-module.c [WITH_WATCHPOINTS] (modules): Always call + sim_watchpoint_install. + +2015-12-24 Mike Frysinger + * 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 -- cgit v1.1