aboutsummaryrefslogtreecommitdiff
path: root/model/riscv_jalr_rmem.sail
diff options
context:
space:
mode:
authorJames Clarke <jrtc27@jrtc27.com>2020-01-07 19:19:22 +0000
committerJames Clarke <jrtc27@jrtc27.com>2020-01-07 19:29:33 +0000
commitfc43d5c7a02babe6865a51a7f2d4c94b3843db15 (patch)
treef48becb6730d7610b45d0b9e257533f0beec4e05 /model/riscv_jalr_rmem.sail
parenta0180105233873505f9a1f264eb7888f28994030 (diff)
downloadsail-riscv-fc43d5c7a02babe6865a51a7f2d4c94b3843db15.zip
sail-riscv-fc43d5c7a02babe6865a51a7f2d4c94b3843db15.tar.gz
sail-riscv-fc43d5c7a02babe6865a51a7f2d4c94b3843db15.tar.bz2
Fix parsing long options in the C emulator for RVFI-DII
idx, passed as longindex to getopt_long, is updated every time a long option is parsed to be the index of that option in the options array, not argv. We should instead use optind as in the non-RVFI-DII case, and we can remove the variable to avoid confusion since it is unused.
Diffstat (limited to 'model/riscv_jalr_rmem.sail')
0 files changed, 0 insertions, 0 deletions