aboutsummaryrefslogtreecommitdiff
path: root/sim/lm32
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/lm32
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/lm32')
-rw-r--r--sim/lm32/ChangeLog5
-rw-r--r--sim/lm32/sim-main.h2
-rw-r--r--sim/lm32/tconfig.h24
3 files changed, 7 insertions, 24 deletions
diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog
index 93e7d98..62320b3 100644
--- a/sim/lm32/ChangeLog
+++ b/sim/lm32/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. Delete file.
+
2015-12-24 Mike Frysinger <vapier@gentoo.org>
* tconfig.h (SIM_HANDLES_LMA): Delete.
diff --git a/sim/lm32/sim-main.h b/sim/lm32/sim-main.h
index 4894e8d..13d00cb 100644
--- a/sim/lm32/sim-main.h
+++ b/sim/lm32/sim-main.h
@@ -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"
diff --git a/sim/lm32/tconfig.h b/sim/lm32/tconfig.h
deleted file mode 100644
index 7db04f9..0000000
--- a/sim/lm32/tconfig.h
+++ /dev/null
@@ -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 */