aboutsummaryrefslogtreecommitdiff
path: root/riscv/execute.cc
diff options
context:
space:
mode:
authorScott Johnson <scott.johnson@arilinc.com>2021-11-02 19:16:58 -0700
committerScott Johnson <scott.johnson@arilinc.com>2021-11-04 11:44:12 -0700
commitf862f8c9f2d283b39d0141b798dcb9f96dca5129 (patch)
tree0c25399b69b5afe0cb622f10d4f29098c8ea77ce /riscv/execute.cc
parentc8f11f3eae37833607d7d2635a30275f30cd5f78 (diff)
downloadspike-f862f8c9f2d283b39d0141b798dcb9f96dca5129.zip
spike-f862f8c9f2d283b39d0141b798dcb9f96dca5129.tar.gz
spike-f862f8c9f2d283b39d0141b798dcb9f96dca5129.tar.bz2
Add gva field to trap_breakpoint
So I can fix breakpoints next to properly report gva.
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 21a9428..467a2b4 100644
--- a/riscv/execute.cc
+++ b/riscv/execute.cc
@@ -329,7 +329,7 @@ void processor_t::step(size_t n)
enter_debug_mode(DCSR_CAUSE_HWBP);
break;
case ACTION_DEBUG_EXCEPTION: {
- trap_breakpoint trap(t.address);
+ trap_breakpoint trap(/*gva*/false, t.address);
take_trap(trap, pc);
break;
}