aboutsummaryrefslogtreecommitdiff
path: root/sim/cris
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-26 23:28:25 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-27 10:54:06 -0400
commite0fd25e4859e1610395b93ff6f05d67c13220cf6 (patch)
tree3d5e3a67ccf20ba2c81bff3448c3e879f4f7cb3e /sim/cris
parent76f11310dfe5815ac6045fcd76eb3bbdc85678ae (diff)
downloadgdb-e0fd25e4859e1610395b93ff6f05d67c13220cf6.zip
gdb-e0fd25e4859e1610395b93ff6f05d67c13220cf6.tar.gz
gdb-e0fd25e4859e1610395b93ff6f05d67c13220cf6.tar.bz2
sim: bpf/cris: include cgen-mem in decoders
These arches use cgen memory functions, so make sure to include the header in the modules.
Diffstat (limited to 'sim/cris')
-rw-r--r--sim/cris/ChangeLog5
-rw-r--r--sim/cris/decodev10.c1
-rw-r--r--sim/cris/decodev32.c1
3 files changed, 7 insertions, 0 deletions
diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog
index e22e99f..cb61b0e 100644
--- a/sim/cris/ChangeLog
+++ b/sim/cris/ChangeLog
@@ -1,3 +1,8 @@
+2021-06-27 Mike Frysinger <vapier@gentoo.org>
+
+ * decodev10.c: Include cgen-mem.h.
+ * decodev32.c: Likewise.
+
2021-06-24 Mike Frysinger <vapier@gentoo.org>
* cris-sim.h (cris_bmod_handler): Delete.
diff --git a/sim/cris/decodev10.c b/sim/cris/decodev10.c
index 798572f..6b978d0 100644
--- a/sim/cris/decodev10.c
+++ b/sim/cris/decodev10.c
@@ -26,6 +26,7 @@ This file is part of the GNU simulators.
#include "sim-main.h"
#include "sim-assert.h"
+#include "cgen-mem.h"
#include "cgen-ops.h"
/* The instruction descriptor array.
diff --git a/sim/cris/decodev32.c b/sim/cris/decodev32.c
index ea57659..43b0dfb 100644
--- a/sim/cris/decodev32.c
+++ b/sim/cris/decodev32.c
@@ -26,6 +26,7 @@ This file is part of the GNU simulators.
#include "sim-main.h"
#include "sim-assert.h"
+#include "cgen-mem.h"
#include "cgen-ops.h"
/* The instruction descriptor array.