All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [patch] Fix dumping of arm registers
@ 2005-04-17 19:50 Paul Brook
  0 siblings, 0 replies; only message in thread
From: Paul Brook @ 2005-04-17 19:50 UTC (permalink / raw)
  To: qemu-devel

The patch below fixes a thinko in the arm cpu state dumping so the FPSCR is 
only displayed once.

Paul

Index: target-arm/translate.c
===================================================================
RCS file: /cvsroot/qemu/qemu/target-arm/translate.c,v
retrieving revision 1.20
diff -u -p -r1.20 translate.c
--- target-arm/translate.c	17 Apr 2005 19:16:13 -0000	1.20
+++ target-arm/translate.c	17 Apr 2005 19:46:34 -0000
@@ -2153,8 +2153,8 @@ void cpu_dump_state(CPUState *env, FILE 
                     i * 2 + 1, (int)s0.i, s0.s,
                     i, (int)(uint32_t)d.l.upper, (int)(uint32_t)d.l.lower,
                     d.d);
-        cpu_fprintf(f, "FPSCR: %08x\n", (int)env->vfp.fpscr);
     }
+    cpu_fprintf(f, "FPSCR: %08x\n", (int)env->vfp.fpscr);
 }
 
 target_ulong cpu_get_phys_page_debug(CPUState *env, target_ulong addr)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-17 20:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-17 19:50 [Qemu-devel] [patch] Fix dumping of arm registers Paul Brook

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.