projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af2d37d
)
SPARC: Trivial patch to clean up npc monitor output
author
Nathan Kunkee
<nkunkee42@hotmail.com>
Fri, 9 Sep 2011 02:58:31 +0000
(21:58 -0500)
committer
Stefan Hajnoczi
<stefanha@linux.vnet.ibm.com>
Fri, 9 Sep 2011 08:50:52 +0000
(09:50 +0100)
This patch fixes the spacing of the PC output from 'info cpus' for
SPARC.
Signed-off-by: Nathan Kunkee <nkunkee42@hotmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
monitor.c
patch
|
blob
|
history
diff --git
a/monitor.c
b/monitor.c
index df0f622067a8a1f9912aeb7f540ad38b2edc5ec1..03ae997ffec6df36a6b73aef3873ecfd9bd61f19 100644
(file)
--- a/
monitor.c
+++ b/
monitor.c
@@
-886,7
+886,7
@@
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,
(target_long) qdict_get_int(cpu, "npc"));