* [Qemu-devel] [PATCH] target-mips: Fix one more format specifier for cpu_fprintf
@ 2010-04-02 21:19 Stefan Weil
0 siblings, 0 replies; only message in thread
From: Stefan Weil @ 2010-04-02 21:19 UTC (permalink / raw)
To: QEMU Developers
env->bcond must be printed using TARGET_FMT_ld.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
target-mips/translate.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/target-mips/translate.c b/target-mips/translate.c
index 61f8d72..bdd1884 100644
--- a/target-mips/translate.c
+++ b/target-mips/translate.c
@@ -9638,7 +9638,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++) {
--
1.7.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-04-02 21:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-02 21:19 [Qemu-devel] [PATCH] target-mips: Fix one more format specifier for cpu_fprintf Stefan Weil
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).