From b352fa43eaf0bc2ce5d3f1625ac1080e0982b85a Mon Sep 17 00:00:00 2001 From: ths Date: Mon, 24 Dec 2007 16:24:42 +0000 Subject: Update debug code to match new accumulator register layout. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3853 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-mips/translate.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'target-mips') diff --git a/target-mips/translate.c b/target-mips/translate.c index abbf0677c0..be29357f10 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -6724,10 +6724,10 @@ void cpu_mips_check_sign_extensions (CPUState *env, FILE *f, if (!SIGN_EXT_P(env->PC[env->current_tc])) cpu_fprintf(f, "BROKEN: pc=0x" TARGET_FMT_lx "\n", env->PC[env->current_tc]); - if (!SIGN_EXT_P(env->HI[env->current_tc])) - cpu_fprintf(f, "BROKEN: HI=0x" TARGET_FMT_lx "\n", env->HI[env->current_tc]); - if (!SIGN_EXT_P(env->LO[env->current_tc])) - cpu_fprintf(f, "BROKEN: LO=0x" TARGET_FMT_lx "\n", env->LO[env->current_tc]); + if (!SIGN_EXT_P(env->HI[0][env->current_tc])) + cpu_fprintf(f, "BROKEN: HI=0x" TARGET_FMT_lx "\n", env->HI[0][env->current_tc]); + if (!SIGN_EXT_P(env->LO[0][env->current_tc])) + cpu_fprintf(f, "BROKEN: LO=0x" TARGET_FMT_lx "\n", env->LO[0][env->current_tc]); if (!SIGN_EXT_P(env->btarget)) cpu_fprintf(f, "BROKEN: btarget=0x" TARGET_FMT_lx "\n", env->btarget); -- cgit v1.2.1