diff options
author | James Clarke <jrtc27@jrtc27.com> | 2020-01-07 19:19:22 +0000 |
---|---|---|
committer | James Clarke <jrtc27@jrtc27.com> | 2020-01-07 19:29:33 +0000 |
commit | fc43d5c7a02babe6865a51a7f2d4c94b3843db15 (patch) | |
tree | f48becb6730d7610b45d0b9e257533f0beec4e05 /model/riscv_sys_exceptions.sail | |
parent | a0180105233873505f9a1f264eb7888f28994030 (diff) | |
download | sail-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_sys_exceptions.sail')
0 files changed, 0 insertions, 0 deletions