aboutsummaryrefslogtreecommitdiff
path: root/sim/aarch64
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2019-03-28 13:42:07 +0000
committerAndrew Burgess <andrew.burgess@embecosm.com>2019-03-28 13:46:09 +0000
commitcd5b60741993f9e075d3f2492e2251da5bdf260f (patch)
treec312ed5d13e6142c98ea6254fab27861ab83bace /sim/aarch64
parentbffa1015cd6cb4a2a4bd1276ed749d150684dd5c (diff)
downloadgdb-cd5b60741993f9e075d3f2492e2251da5bdf260f.zip
gdb-cd5b60741993f9e075d3f2492e2251da5bdf260f.tar.gz
gdb-cd5b60741993f9e075d3f2492e2251da5bdf260f.tar.bz2
sim: fix aarch64 sim build
This commit: commit ef9866970ce6683d40465fb7c3168f87a1dcd1b7 Date: Thu Mar 28 06:40:30 2019 +0900 sim/common: convert sim-arange to use sim-inline Broke the simulator build for aarch64 - some required macros are no longer included where needed, fixed in this commit. sim/aarch64/ChangeLog: * cpustate.c: Add 'libiberty.h' include. * interp.c: Add 'sim-assert.h' include.
Diffstat (limited to 'sim/aarch64')
-rw-r--r--sim/aarch64/ChangeLog5
-rw-r--r--sim/aarch64/cpustate.c1
-rw-r--r--sim/aarch64/interp.c1
3 files changed, 7 insertions, 0 deletions
diff --git a/sim/aarch64/ChangeLog b/sim/aarch64/ChangeLog
index a634fd3..9ab81ad 100644
--- a/sim/aarch64/ChangeLog
+++ b/sim/aarch64/ChangeLog
@@ -1,3 +1,8 @@
+2019-03-28 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * cpustate.c: Add 'libiberty.h' include.
+ * interp.c: Add 'sim-assert.h' include.
+
2017-09-06 John Baldwin <jhb@FreeBSD.org>
* configure: Regenerate.
diff --git a/sim/aarch64/cpustate.c b/sim/aarch64/cpustate.c
index 6f5121a..f90b7ad 100644
--- a/sim/aarch64/cpustate.c
+++ b/sim/aarch64/cpustate.c
@@ -25,6 +25,7 @@
#include "sim-main.h"
#include "cpustate.h"
#include "simulator.h"
+#include "libiberty.h"
/* Some operands are allowed to access the stack pointer (reg 31).
For others a read from r31 always returns 0, and a write to r31 is ignored. */
diff --git a/sim/aarch64/interp.c b/sim/aarch64/interp.c
index c8a3c28..c5cfc4a 100644
--- a/sim/aarch64/interp.c
+++ b/sim/aarch64/interp.c
@@ -38,6 +38,7 @@
#include "sim-options.h"
#include "memory.h"
#include "simulator.h"
+#include "sim-assert.h"
/* Filter out (in place) symbols that are useless for disassembly.
COUNT is the number of elements in SYMBOLS.