diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-01-31 17:17:10 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-01-31 17:19:38 -0500 |
commit | bccec180ce9593ccdf652ce3a625f6e0542ccf78 (patch) | |
tree | db688629a9774c7c84f015fdd4cfa8f14bb7d6ff | |
parent | ba2f0de21691c6752daf4b3a6941392ee06a77d6 (diff) | |
download | gdb-bccec180ce9593ccdf652ce3a625f6e0542ccf78.zip gdb-bccec180ce9593ccdf652ce3a625f6e0542ccf78.tar.gz gdb-bccec180ce9593ccdf652ce3a625f6e0542ccf78.tar.bz2 |
sim: bpf: fix mainloop extract call
The extract function takes the argbuf, not the scache.
-rw-r--r-- | sim/bpf/ChangeLog | 4 | ||||
-rw-r--r-- | sim/bpf/mloop.in | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/bpf/ChangeLog b/sim/bpf/ChangeLog index dc3db5a..5b6a807 100644 --- a/sim/bpf/ChangeLog +++ b/sim/bpf/ChangeLog @@ -1,5 +1,9 @@ 2021-01-31 Mike Frysinger <vapier@gentoo.org> + * mloop.in (xextract-scache): Call SEM_ARGBUF. + +2021-01-31 Mike Frysinger <vapier@gentoo.org> + * decode-be.c (bpfbf_ebpfbe_decode): Change TRACE_EXTRACT to CGEN_TRACE_EXTRACT. * decode-le.c (bpfbf_ebpfle_decode): Likewise. diff --git a/sim/bpf/mloop.in b/sim/bpf/mloop.in index 14325a2..e666835 100644 --- a/sim/bpf/mloop.in +++ b/sim/bpf/mloop.in @@ -137,7 +137,7 @@ cat <<EOF insn = (((UDI) imm32) << 32) | (((UDI) off16) << 16) | (insn & 0xffff); } - extract (current_cpu, vpc, insn, sc, FAST_P); + extract (current_cpu, vpc, insn, SEM_ARGBUF (sc), FAST_P); //XXX SEM_SKIP_COMPILE (current_cpu, sc, 1); } |