Re: [Qemu-devel] [PATCH 1/2] hmp: fix info cpus for sparc targets

2012-10-17 Thread Luiz Capitulino
On Wed, 17 Oct 2012 08:06:13 +0200 Aurelien Jarno wrote: > On Tue, Oct 16, 2012 at 11:01:45PM -0300, Luiz Capitulino wrote: > > On Wed, 17 Oct 2012 01:28:34 +0200 > > Aurelien Jarno wrote: > > > > > On sparc targets, info cpus returns this kind of output: > > > > > > | info cpus > > > | * CPU

Re: [Qemu-devel] [PATCH 1/2] hmp: fix info cpus for sparc targets

2012-10-16 Thread Aurelien Jarno
On Tue, Oct 16, 2012 at 11:01:45PM -0300, Luiz Capitulino wrote: > On Wed, 17 Oct 2012 01:28:34 +0200 > Aurelien Jarno wrote: > > > On sparc targets, info cpus returns this kind of output: > > > > | info cpus > > | * CPU #0: > > pc=0x00424d18pc=0x00424d18npc=0x00424d1c

Re: [Qemu-devel] [PATCH 1/2] hmp: fix info cpus for sparc targets

2012-10-16 Thread Luiz Capitulino
On Wed, 17 Oct 2012 01:28:34 +0200 Aurelien Jarno wrote: > On sparc targets, info cpus returns this kind of output: > > | info cpus > | * CPU #0: pc=0x00424d18pc=0x00424d18npc=0x00424d1c > thread_id=19460 > > pc is printed twice, there is no space between pc, pc and npc

[Qemu-devel] [PATCH 1/2] hmp: fix info cpus for sparc targets

2012-10-16 Thread Aurelien Jarno
On sparc targets, info cpus returns this kind of output: | info cpus | * CPU #0: pc=0x00424d18pc=0x00424d18npc=0x00424d1c thread_id=19460 pc is printed twice, there is no space between pc, pc and npc. As npc implies pc, don't set has_pc on sparc, and add a space between p