aboutsummaryrefslogtreecommitdiff
path: root/riscv/execute.cc
diff options
context:
space:
mode:
authorScott Johnson <scott.johnson@arilinc.com>2021-09-22 18:40:04 -0700
committerScott Johnson <scott.johnson@arilinc.com>2021-09-26 17:17:53 -0700
commit1fe77945de9bacaf1e10f05b1dad4d115c552216 (patch)
tree52c911002f7371a5569385eb6d2e39387050eb34 /riscv/execute.cc
parentbfcf4707b301230542816fd7bd71f89d57d3ef16 (diff)
downloadspike-1fe77945de9bacaf1e10f05b1dad4d115c552216.zip
spike-1fe77945de9bacaf1e10f05b1dad4d115c552216.tar.gz
spike-1fe77945de9bacaf1e10f05b1dad4d115c552216.tar.bz2
Convert dcsr to csr_t
Diffstat (limited to 'riscv/execute.cc')
-rw-r--r--riscv/execute.cc2
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);
}
}