diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-03-28 22:33:29 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-03-28 22:33:29 +0000 |
commit | d3fe0d7bb8a3101df6f052aa54e4cfedcc2fee94 (patch) | |
tree | 8d081b5b09ae79b2a4c351b8d2945c4a5cdbacee /sim/common/sim-base.h | |
parent | e432ccf1cb4685b990f9cf10cb84626f52239806 (diff) | |
download | fsf-binutils-gdb-d3fe0d7bb8a3101df6f052aa54e4cfedcc2fee94.zip fsf-binutils-gdb-d3fe0d7bb8a3101df6f052aa54e4cfedcc2fee94.tar.gz fsf-binutils-gdb-d3fe0d7bb8a3101df6f052aa54e4cfedcc2fee94.tar.bz2 |
sim: fix all sim builds
This commit:
commit ef9866970ce6683d40465fb7c3168f87a1dcd1b7
Date: Thu Mar 28 06:40:30 2019 +0900
sim/common: convert sim-arange to use sim-inline
broke many simulator targets. I fixed aarch64 in a previous commit
without realising how many other target were also broken.
This commit adds the missing includes (sim-assert.h and libiberty.h),
which seem to be needed by many simulator targets, in a central
location, this should fix most builds.
sim/common/ChangeLog:
* sim-base.h: Add 'sim-assert.h' include.
* sim-basics.h: Add 'libiberty.h' include.
Diffstat (limited to 'sim/common/sim-base.h')
-rw-r--r-- | sim/common/sim-base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/common/sim-base.h b/sim/common/sim-base.h index d07ff21..60072d3 100644 --- a/sim/common/sim-base.h +++ b/sim/common/sim-base.h @@ -93,6 +93,7 @@ typedef struct _sim_cpu sim_cpu; #include "sim-watch.h" #include "sim-memopt.h" #include "sim-cpu.h" +#include "sim-assert.h" /* We require all sims to dynamically allocate cpus. See comment up top about |