aboutsummaryrefslogtreecommitdiff
path: root/target-cris
diff options
context:
space:
mode:
Diffstat (limited to 'target-cris')
-rw-r--r--target-cris/op_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-cris/op_helper.c b/target-cris/op_helper.c
index 0f6a1eeb0a..b580513848 100644
--- a/target-cris/op_helper.c
+++ b/target-cris/op_helper.c
@@ -60,7 +60,7 @@ void tlb_fill(CPUCRISState *env, target_ulong addr, int is_write, int mmu_idx,
int ret;
D_LOG("%s pc=%x tpc=%x ra=%p\n", __func__,
- env->pc, env->debug1, (void *)retaddr);
+ env->pc, env->pregs[PR_EDA], (void *)retaddr);
ret = cpu_cris_handle_mmu_fault(env, addr, is_write, mmu_idx);
if (unlikely(ret)) {
if (retaddr) {