Commit b352fa43eaf0bc2ce5d3f1625ac1080e0982b85a

Authored by ths
1 parent 2cc977e2

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
Showing 1 changed file with 4 additions and 4 deletions
target-mips/translate.c
... ... @@ -6724,10 +6724,10 @@ void cpu_mips_check_sign_extensions (CPUState *env, FILE *f,
6724 6724  
6725 6725 if (!SIGN_EXT_P(env->PC[env->current_tc]))
6726 6726 cpu_fprintf(f, "BROKEN: pc=0x" TARGET_FMT_lx "\n", env->PC[env->current_tc]);
6727   - if (!SIGN_EXT_P(env->HI[env->current_tc]))
6728   - cpu_fprintf(f, "BROKEN: HI=0x" TARGET_FMT_lx "\n", env->HI[env->current_tc]);
6729   - if (!SIGN_EXT_P(env->LO[env->current_tc]))
6730   - cpu_fprintf(f, "BROKEN: LO=0x" TARGET_FMT_lx "\n", env->LO[env->current_tc]);
  6727 + if (!SIGN_EXT_P(env->HI[0][env->current_tc]))
  6728 + cpu_fprintf(f, "BROKEN: HI=0x" TARGET_FMT_lx "\n", env->HI[0][env->current_tc]);
  6729 + if (!SIGN_EXT_P(env->LO[0][env->current_tc]))
  6730 + cpu_fprintf(f, "BROKEN: LO=0x" TARGET_FMT_lx "\n", env->LO[0][env->current_tc]);
6731 6731 if (!SIGN_EXT_P(env->btarget))
6732 6732 cpu_fprintf(f, "BROKEN: btarget=0x" TARGET_FMT_lx "\n", env->btarget);
6733 6733  
... ...