aboutsummaryrefslogtreecommitdiff
path: root/sim/mn10300
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/mn10300
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/mn10300')
-rw-r--r--sim/mn10300/ChangeLog4
-rw-r--r--sim/mn10300/sim-main.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog
index 920625e..0034efc 100644
--- a/sim/mn10300/ChangeLog
+++ b/sim/mn10300/ChangeLog
@@ -1,3 +1,7 @@
+2015-12-24 Mike Frysinger <vapier@gentoo.org>
+
+ * sim-main.h (WITH_WATCHPOINTS): Delete.
+
2015-11-21 Mike Frysinger <vapier@gentoo.org>
* interp.c (mn10300_callback): Delete.
diff --git a/sim/mn10300/sim-main.h b/sim/mn10300/sim-main.h
index 2b06de0..b489ad0 100644
--- a/sim/mn10300/sim-main.h
+++ b/sim/mn10300/sim-main.h
@@ -22,7 +22,6 @@
#ifndef SIM_MAIN_H
#define SIM_MAIN_H
-#define WITH_WATCHPOINTS 1
#define SIM_HANDLES_LMA 1
#define SIM_ENGINE_HALT_HOOK(SD,LAST_CPU,CIA) 0 /* disable this hook */
@@ -41,8 +40,6 @@
#include "itable.h"
#include "idecode.h"
-#define WITH_WATCHPOINTS 1
-
#define SIM_CORE_SIGNAL(SD,CPU,CIA,MAP,NR_BYTES,ADDR,TRANSFER,ERROR) \
mn10300_core_signal ((SD), (CPU), (CIA), (MAP), (NR_BYTES), (ADDR), (TRANSFER), (ERROR))