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.
This commit is contained in:
parent
42a3af5688
commit
f0c1b768b4
18 changed files with 57 additions and 49 deletions
|
@ -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-25 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* devices.c (device_error): Delete.
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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-25 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* devices.c (device_error): Delete.
|
||||
|
|
|
@ -23,6 +23,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
|||
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 0
|
||||
|
||||
#include "symcat.h"
|
||||
#include "sim-basics.h"
|
||||
#include "cgen-types.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 0
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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. Delete file.
|
||||
|
||||
2015-12-24 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* tconfig.h (SIM_HANDLES_LMA): Delete.
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
#ifndef SIM_MAIN_H
|
||||
#define SIM_MAIN_H
|
||||
|
||||
#define WITH_SCACHE_PBB 1
|
||||
|
||||
#include "symcat.h"
|
||||
#include "sim-basics.h"
|
||||
#include "cgen-types.h"
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
/* Lattice Mico32 simulator configuration.
|
||||
Contributed by Jon Beniston <jon@beniston.com>
|
||||
|
||||
This file is part of GDB.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef LM32_TCONFIG_H
|
||||
#define LM32_TCONFIG_H
|
||||
|
||||
#define WITH_SCACHE_PBB 1
|
||||
|
||||
#endif /* LM32_TCONFIG_H */
|
|
@ -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-25 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* devices.c (device_error): Delete.
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
#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"
|
||||
|
|
|
@ -6,9 +6,4 @@
|
|||
/* For MSPR support. FIXME: revisit. */
|
||||
#define WITH_DEVICES 1
|
||||
|
||||
/* 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 /* M32R_TCONFIG_H */
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -7,6 +7,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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue