Skip to contentSkip to conversation

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

Qemu-devel Thiemo Seufer 1 participant 1 message Jul 21, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 4916

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4916
Author:   ths
Date:     2008-07-21 07:46:03 +0000 (Mon, 21 Jul 2008)

Log Message:
-----------
Fix logging output for MIPS HI, LO registers, by Stefan Weil.

Modified Paths:
--------------
trunk/target-mips/translate.c

Modified: trunk/target-mips/translate.c
===================================================================

target-mips/translate.c +2 -1
@@ -8694,7 +8694,8 @@
     int i;
 
     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",
-                env->active_tc.PC, env->active_tc.HI, env->active_tc.LO, env->hflags, env->btarget, env->bcond);
+                env->active_tc.PC, env->active_tc.HI[0], env->active_tc.LO[0],
+                env->hflags, env->btarget, env->bcond);
     for (i = 0; i < 32; i++) {
         if ((i & 3) == 0)
             cpu_fprintf(f, "GPR%02d:", i);