Showing the changes to src/exec/debugger.cpp (1 of 6 files). Show all
Unified · Split
| @@ -630,8 +630,7 @@ namespace · 629 unmodified lines | ||
| 630 | 630 | const auto &r = *cxt.current_register; |
| 631 | 631 | const auto &code_section = r.module_ref->code_section; |
| 632 | 632 | |
| 633 | − // The current PC is actually the next PC to execute. | |
| 634 | − auto begin_pc = r.pc == 0 ? r.pc : r.pc - 1; | |
| 633 | + auto begin_pc = r.pc; | |
| 635 | 634 | auto end_pc = begin_pc; |
| 636 | 635 | if (absolute_pc) |
| 637 | 636 | { |