diff options
Diffstat (limited to 'riscv/execute.cc')
-rw-r--r-- | riscv/execute.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/execute.cc b/riscv/execute.cc index ed64277..95471a9 100644 --- a/riscv/execute.cc +++ b/riscv/execute.cc @@ -227,7 +227,7 @@ void processor_t::step(size_t n) } else if (halt_request == HR_GROUP) { enter_debug_mode(DCSR_CAUSE_GROUP); } // !!!The halt bit in DCSR is deprecated. - else if (state.dcsr.halt) { + else if (state.dcsr->halt) { enter_debug_mode(DCSR_CAUSE_HALT); } } |