aboutsummaryrefslogtreecommitdiff
path: root/target-sparc/ldst_helper.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-01-27 14:32:05 +0100
committerBlue Swirl <blauwirbel@gmail.com>2013-02-16 17:00:29 +0000
commit05499f4b9fd431631299dc1b70156dbc1fb43318 (patch)
tree19779b3b23a9424b8b27c4137d4e291d5279745a /target-sparc/ldst_helper.c
parent453776e5746be23c66df65fadf12e115b7d2dadd (diff)
downloadqemu-05499f4b9fd431631299dc1b70156dbc1fb43318.zip
qemu-05499f4b9fd431631299dc1b70156dbc1fb43318.tar.gz
qemu-05499f4b9fd431631299dc1b70156dbc1fb43318.tar.bz2
target-sparc: Fix debug output for DEBUG_MMU
Signed-off-by: Andreas Färber <afaerber@suse.de> Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-sparc/ldst_helper.c')
-rw-r--r--target-sparc/ldst_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sparc/ldst_helper.c b/target-sparc/ldst_helper.c
index cf1bddf..7decd66 100644
--- a/target-sparc/ldst_helper.c
+++ b/target-sparc/ldst_helper.c
@@ -1850,7 +1850,7 @@ void helper_st_asi(CPUSPARCState *env, target_ulong addr, target_ulong val,
DPRINTF_MMU("LSU change: 0x%" PRIx64 " -> 0x%" PRIx64 "\n",
oldreg, env->lsu);
#ifdef DEBUG_MMU
- dump_mmu(stdout, fprintf, env1);
+ dump_mmu(stdout, fprintf, env);
#endif
tlb_flush(env, 1);
}