aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/sim-main.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-04-18 04:19:56 -0400
committerMike Frysinger <vapier@gentoo.org>2015-04-18 04:31:36 -0400
commit20bca71d82598a015de0991196e45f0b5f7ead81 (patch)
tree430360c5efe05979bc42a916dd483aae35c30eb6 /sim/mips/sim-main.h
parent7e83aa92f2d986ba60f124287a9fd1e534fbbcf8 (diff)
downloadfsf-binutils-gdb-20bca71d82598a015de0991196e45f0b5f7ead81.zip
fsf-binutils-gdb-20bca71d82598a015de0991196e45f0b5f7ead81.tar.gz
fsf-binutils-gdb-20bca71d82598a015de0991196e45f0b5f7ead81.tar.bz2
sim: unify SIM_CPU definition
Since every target typedefs this the same way, move it to the common code. We have to leave Blackfin behind here for now because of inter-dependencies on types and headers: sim-base.h includes sim-model.h which needs types in machs.h which needs types in bfim-sim.h which needs SIM_CPU.
Diffstat (limited to 'sim/mips/sim-main.h')
-rw-r--r--sim/mips/sim-main.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sim/mips/sim-main.h b/sim/mips/sim-main.h
index 8826857..e6bbd51 100644
--- a/sim/mips/sim-main.h
+++ b/sim/mips/sim-main.h
@@ -33,9 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
mips_core_signal ((SD), (CPU), (CIA), (MAP), (NR_BYTES), (ADDR), (TRANSFER), (ERROR))
#include "sim-basics.h"
-
-typedef struct _sim_cpu SIM_CPU;
-
#include "sim-base.h"
#include "bfd.h"