qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] SPARC: Trivial patch to clean up npc monitor output
@ 2011-09-09  2:58 Nathan Kunkee
  2011-09-09  8:58 ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi
  0 siblings, 1 reply; 2+ messages in thread
From: Nathan Kunkee @ 2011-09-09  2:58 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, nkunkee42


  This patch fixes the spacing of the PC and NPC output from 'info cpus' 
for SPARC.

Signed-off-by: Nathan Kunkee <nkunkee42@hotmail.com>

diff --git a/monitor.c b/monitor.c
index 1b8ba2c..16cd4c5 100644
--- a/monitor.c
+++ b/monitor.c
@@ -884,9 +884,9 @@ static void print_cpu_iter(QObject *obj, void *opaque)
      monitor_printf(mon, "nip=0x" TARGET_FMT_lx,
                     (target_long) qdict_get_int(cpu, "nip"));
  #elif defined(TARGET_SPARC)
-    monitor_printf(mon, "pc=0x " TARGET_FMT_lx,
+    monitor_printf(mon, "pc=0x" TARGET_FMT_lx,
                     (target_long) qdict_get_int(cpu, "pc"));
-    monitor_printf(mon, "npc=0x" TARGET_FMT_lx,
+    monitor_printf(mon, " npc=0x" TARGET_FMT_lx,
                     (target_long) qdict_get_int(cpu, "npc"));
  #elif defined(TARGET_MIPS)
      monitor_printf(mon, "PC=0x" TARGET_FMT_lx,

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [Qemu-trivial] [PATCH] SPARC: Trivial patch to clean up npc monitor output
  2011-09-09  2:58 [Qemu-devel] [PATCH] SPARC: Trivial patch to clean up npc monitor output Nathan Kunkee
@ 2011-09-09  8:58 ` Stefan Hajnoczi
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2011-09-09  8:58 UTC (permalink / raw)
  To: Nathan Kunkee; +Cc: qemu-trivial, qemu-devel

On Thu, Sep 08, 2011 at 09:58:31PM -0500, Nathan Kunkee wrote:
> 
>  This patch fixes the spacing of the PC and NPC output from 'info
> cpus' for SPARC.
> 
> Signed-off-by: Nathan Kunkee <nkunkee42@hotmail.com>

Thanks, applied to the trivial patches -next tree:
http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/trivial-patches-next

Stefan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-09  8:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-09  2:58 [Qemu-devel] [PATCH] SPARC: Trivial patch to clean up npc monitor output Nathan Kunkee
2011-09-09  8:58 ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi

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).