]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: bpf: fix mainloop extract call
authorMike Frysinger <vapier@gentoo.org>
Sun, 31 Jan 2021 22:17:10 +0000 (17:17 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sun, 31 Jan 2021 22:19:38 +0000 (17:19 -0500)
The extract function takes the argbuf, not the scache.

sim/bpf/ChangeLog
sim/bpf/mloop.in

index dc3db5ac5aa6f986a8cc87719a1fc24506277ad8..5b6a8070283d6a9ff624aa78cf6cdb35ea0ef606 100644 (file)
@@ -1,3 +1,7 @@
+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
index 14325a221a70d2cba1f4717959fe72089883f753..e666835ed1b867a4a8dcd39b0c21c20352dea981 100644 (file)
@@ -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);
 }