aboutsummaryrefslogtreecommitdiff
path: root/target-mips
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-04-02 23:19:48 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-04-08 21:46:57 +0200
commita7200c9f9889f681bdcdd0b68a5cf37471bc4327 (patch)
tree09b3a366020503b2182f01ebf567fd13cf3b2df1 /target-mips
parent9bd5494e57ce310cb906b32abd144d0de867debe (diff)
target-mips: Fix one more format specifier for cpu_fprintf
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>
Diffstat (limited to 'target-mips')
-rw-r--r--target-mips/translate.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/target-mips/translate.c b/target-mips/translate.c
index 3f0543732a..64da088497 100644
--- a/target-mips/translate.c
+++ b/target-mips/translate.c
@@ -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++) {