From f862f8c9f2d283b39d0141b798dcb9f96dca5129 Mon Sep 17 00:00:00 2001 From: Scott Johnson Date: Tue, 2 Nov 2021 19:16:58 -0700 Subject: Add gva field to trap_breakpoint So I can fix breakpoints next to properly report gva. --- riscv/execute.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'riscv/execute.cc') 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; } -- cgit v1.1