target-mips: Fix one more format specifier for cpu_fprintf
authorStefan Weil <weil@mail.berlios.de>
Fri, 2 Apr 2010 21:19:48 +0000 (23:19 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 8 Apr 2010 19:46:57 +0000 (21:46 +0200)
env->bcond must be printed using TARGET_FMT_ld.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-mips/translate.c

index 3f0543732a6579de5dfa4d16b1557263bc0f6915..64da0884971c03f9ccdebc3be1da888f69982a65 100644 (file)
@@ -9633,7 +9633,9 @@ void cpu_dump_state (CPUState *env, FILE *f,
 {
     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",
+    cpu_fprintf(f, "pc=0x" TARGET_FMT_lx " HI=0x" TARGET_FMT_lx
+                " LO=0x" TARGET_FMT_lx " ds %04x "
+                TARGET_FMT_lx " " TARGET_FMT_ld "\n",
                 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++) {