hm-riscv / vscode-riscv-venus

VS Code extension with the Venus RISC-V simulator
https://marketplace.visualstudio.com/items?itemName=hm.riscv-venus
MIT License
63 stars 15 forks source link

fix step over behaviour when last instruction is a jump instruction #77

Closed m1n1 closed 3 years ago

m1n1 commented 3 years ago

If the last instruction of a programm is a jump instruction and we click on step over in the debugger, there is a error written and the simulator hangs.

The simulator tries to jump over the jump instruction but because the it is the last instruction it jumps to a wrong address.