diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-12-25 02:34:40 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-12-25 02:42:03 -0500 |
commit | f0c1b768b4f42c631547643ec01b020108c0ef8e (patch) | |
tree | a0bca9664f6a6fff6b3e410380a4d554f554b404 /sim/iq2000 | |
parent | 42a3af5688cd41550e2b517f676f03f2842e615b (diff) | |
download | gdb-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/iq2000')
-rw-r--r-- | sim/iq2000/ChangeLog | 5 | ||||
-rw-r--r-- | sim/iq2000/sim-main.h | 5 | ||||
-rw-r--r-- | sim/iq2000/tconfig.h | 5 |
3 files changed, 10 insertions, 5 deletions
diff --git a/sim/iq2000/ChangeLog b/sim/iq2000/ChangeLog index 770a2be..45f31d5 100644 --- a/sim/iq2000/ChangeLog +++ b/sim/iq2000/ChangeLog @@ -1,3 +1,8 @@ +2015-12-25 Mike Frysinger <vapier@gentoo.org> + + * sim-main.h (WITH_SCACHE_PBB): Move from ... + * tconfig.h (WITH_SCACHE_PBB): ... here. + 2015-12-24 Mike Frysinger <vapier@gentoo.org> * tconfig.h (SIM_HANDLES_LMA): Delete. diff --git a/sim/iq2000/sim-main.h b/sim/iq2000/sim-main.h index 992520a..810e4f4 100644 --- a/sim/iq2000/sim-main.h +++ b/sim/iq2000/sim-main.h @@ -8,6 +8,11 @@ sim-basics.h and cgen-types.h needs config.h. */ #include "config.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/iq2000/tconfig.h b/sim/iq2000/tconfig.h index bd5a3ae..cf63d44 100644 --- a/sim/iq2000/tconfig.h +++ b/sim/iq2000/tconfig.h @@ -5,8 +5,3 @@ /* ??? Temporary hack until model support unified. */ #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 |