diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-26 23:28:25 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-27 10:54:06 -0400 |
commit | e0fd25e4859e1610395b93ff6f05d67c13220cf6 (patch) | |
tree | 3d5e3a67ccf20ba2c81bff3448c3e879f4f7cb3e /sim/bpf | |
parent | 76f11310dfe5815ac6045fcd76eb3bbdc85678ae (diff) | |
download | gdb-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/bpf')
-rw-r--r-- | sim/bpf/ChangeLog | 5 | ||||
-rw-r--r-- | sim/bpf/decode-be.c | 2 | ||||
-rw-r--r-- | sim/bpf/decode-le.c | 2 |
3 files changed, 9 insertions, 0 deletions
diff --git a/sim/bpf/ChangeLog b/sim/bpf/ChangeLog index 039f2c7..1bc4c84 100644 --- a/sim/bpf/ChangeLog +++ b/sim/bpf/ChangeLog @@ -1,5 +1,10 @@ 2021-06-27 Mike Frysinger <vapier@gentoo.org> + * decode-be.c: Include cgen-mem.h & cgen-ops.h. + * decode-le.c: Likewise. + +2021-06-27 Mike Frysinger <vapier@gentoo.org> + * bpf-helpers.c: Include bpf-helpers.h. * bpf-helpers.h (bpf_trace_printk): Change return type to int. (bpfbf_breakpoint): New prototype. diff --git a/sim/bpf/decode-be.c b/sim/bpf/decode-be.c index 54ebae1..71ca032 100644 --- a/sim/bpf/decode-be.c +++ b/sim/bpf/decode-be.c @@ -27,6 +27,8 @@ 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. This is computed at runtime. Space for it is not malloc'd to save a diff --git a/sim/bpf/decode-le.c b/sim/bpf/decode-le.c index 613d33d..96f1943 100644 --- a/sim/bpf/decode-le.c +++ b/sim/bpf/decode-le.c @@ -27,6 +27,8 @@ 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. This is computed at runtime. Space for it is not malloc'd to save a |