Re: [Qemu-devel] Changing the content of target cpu registers

2011-01-22 Thread Blue Swirl
2011/1/21 Raphaël Lefèvre : > On Wed, Jan 19, 2011 at 2:13 AM, Stefano Bonifazi > wrote: >> On 01/18/2011 06:17 PM, Blue Swirl wrote: >>> >>> On Tue, Jan 18, 2011 at 9:29 AM, Stefano Bonifazi >>>  wrote: Hi all!  I am working on qemu-user (qemu-ppc). I'd like to edit the value

Re: [Qemu-devel] Changing the content of target cpu registers

2011-01-21 Thread Raphaël Lefèvre
On Wed, Jan 19, 2011 at 2:13 AM, Stefano Bonifazi wrote: > On 01/18/2011 06:17 PM, Blue Swirl wrote: >> >> On Tue, Jan 18, 2011 at 9:29 AM, Stefano Bonifazi >>  wrote: >>> >>> Hi all! >>>  I am working on qemu-user (qemu-ppc). >>> I'd like to edit the values of target registers during the executi

Re: [Qemu-devel] Changing the content of target cpu registers

2011-01-18 Thread Stefano Bonifazi
On 01/18/2011 06:17 PM, Blue Swirl wrote: On Tue, Jan 18, 2011 at 9:29 AM, Stefano Bonifazi wrote: Hi all! I am working on qemu-user (qemu-ppc). I'd like to edit the values of target registers during the execution. Can I do that by simply changing the content of env->gpr[] or do these only c

Re: [Qemu-devel] Changing the content of target cpu registers

2011-01-18 Thread Blue Swirl
On Tue, Jan 18, 2011 at 9:29 AM, Stefano Bonifazi wrote: > Hi all! >  I am working on qemu-user (qemu-ppc). > I'd like to edit the values of target registers during the execution. Can I > do that by simply changing the content of env->gpr[] or do these only > contain a copy of the values of the re

[Qemu-devel] Changing the content of target cpu registers

2011-01-18 Thread Stefano Bonifazi
Hi all! I am working on qemu-user (qemu-ppc). I'd like to edit the values of target registers during the execution. Can I do that by simply changing the content of env->gpr[] or do these only contain a copy of the values of the registers? In this last case, where are the real values of the targ