提交 3f9c3595 编写于 作者: N Nathan Kunkee 提交者: Stefan Hajnoczi

SPARC: Trivial patch to clean up npc monitor output

This patch fixes the spacing of the PC output from 'info cpus' for
SPARC.
Signed-off-by: NNathan Kunkee <nkunkee42@hotmail.com>
Signed-off-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
上级 af2d37de
......@@ -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"));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册