SPARC: Trivial patch to clean up npc monitor output
PATCH 1/1 SPARC: Trivial patch to clean up npc monitor output
This patch fixes the spacing of the PC and NPC output from 'info cpus'
for SPARC.
Signed-off-by Nathan Kunkee <[email protected]>
monitor.c +2 -2
@@ -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,
Stefan Hajnoczi
AppliedQuoted 5 lines · Nathan Kunkee
This patch fixes the spacing of the PC and NPC output from 'info
cpus' for SPARC.Signed-off-by Nathan Kunkee <[email protected]>
Thanks, applied to the trivial patches -next tree:
http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/trivial-patches-next
Stefan