Commit 3d5be8709be245c7631a65753666aaea3cae2342

Authored by ths
1 parent 50366fe9

Fix logging output for MIPS HI, LO registers, by Stefan Weil.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4916 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 1 deletions
target-mips/translate.c
... ... @@ -8694,7 +8694,8 @@ void cpu_dump_state (CPUState *env, FILE *f,
8694 8694 int i;
8695 8695  
8696 8696 cpu_fprintf(f, "pc=0x" TARGET_FMT_lx " HI=0x" TARGET_FMT_lx " LO=0x" TARGET_FMT_lx " ds %04x " TARGET_FMT_lx " %d\n",
8697   - env->active_tc.PC, env->active_tc.HI, env->active_tc.LO, env->hflags, env->btarget, env->bcond);
  8697 + env->active_tc.PC, env->active_tc.HI[0], env->active_tc.LO[0],
  8698 + env->hflags, env->btarget, env->bcond);
8698 8699 for (i = 0; i < 32; i++) {
8699 8700 if ((i & 3) == 0)
8700 8701 cpu_fprintf(f, "GPR%02d:", i);
... ...