aboutsummaryrefslogtreecommitdiff
path: root/sim/cris
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-25 02:34:40 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-25 02:42:03 -0500
commitf0c1b768b4f42c631547643ec01b020108c0ef8e (patch)
treea0bca9664f6a6fff6b3e410380a4d554f554b404 /sim/cris
parent42a3af5688cd41550e2b517f676f03f2842e615b (diff)
downloadgdb-f0c1b768b4f42c631547643ec01b020108c0ef8e.zip
gdb-f0c1b768b4f42c631547643ec01b020108c0ef8e.tar.gz
gdb-f0c1b768b4f42c631547643ec01b020108c0ef8e.tar.bz2
sim: move WITH_SCACHE_PBB to sim-main.h
This helps us break up tconfig.h more. Any file using this define should be pulling in sim-main.h already, so things should continue working.
Diffstat (limited to 'sim/cris')
-rw-r--r--sim/cris/ChangeLog5
-rw-r--r--sim/cris/sim-main.h5
-rw-r--r--sim/cris/tconfig.h5
3 files changed, 10 insertions, 5 deletions
diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog
index dbc2d09..416db96 100644
--- a/sim/cris/ChangeLog
+++ b/sim/cris/ChangeLog
@@ -1,5 +1,10 @@
2015-12-25 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (WITH_SCACHE_PBB): Move from ...
+ * tconfig.h (WITH_SCACHE_PBB): ... here.
+
+2015-12-25 Mike Frysinger <vapier@gentoo.org>
+
* devices.c (device_error): Delete.
2015-12-24 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/cris/sim-main.h b/sim/cris/sim-main.h
index 4dc04a2..ac91e67 100644
--- a/sim/cris/sim-main.h
+++ b/sim/cris/sim-main.h
@@ -24,6 +24,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#ifndef SIM_MAIN_H
#define SIM_MAIN_H
+/* This is a global setting. Different cpu families can't mix-n-match -scache
+ and -pbb. However some cpu families may use -simple while others use
+ one of -scache/-pbb. */
+#define WITH_SCACHE_PBB 1
+
#include "symcat.h"
#include "sim-basics.h"
#include "cgen-types.h"
diff --git a/sim/cris/tconfig.h b/sim/cris/tconfig.h
index 77b000f..05d8623 100644
--- a/sim/cris/tconfig.h
+++ b/sim/cris/tconfig.h
@@ -29,9 +29,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#define SIM_HAVE_MODEL
-/* This is a global setting. Different cpu families can't mix-n-match -scache
- and -pbb. However some cpu families may use -simple while others use
- one of -scache/-pbb. */
-#define WITH_SCACHE_PBB 1
-
#endif /* CRIS_TCONFIG_H */