tutu sky <ooohoo...@hotmail.com> writes:

> Thanks a lot Stefan,
> But if i want to change the content of a register during run time in
> debug mode, what should i do? is it possible at first?

Using the gdbstub sure you can change the register values when the
machine is halted.

>
> Regards.
> ________________________________________
> From: Stefan Hajnoczi <stefa...@gmail.com>
> Sent: Tuesday, April 26, 2016 9:31 AM
> To: tutu sky
> Cc: qemu-devel@nongnu.org
> Subject: Re: [Qemu-devel] emulation details of qemu
>
> On Sat, Apr 23, 2016 at 06:36:39AM +0000, tutu sky wrote:
>> I want to know that is it possible to access registers or 
>> micro-architectural part of a core/cpu in qemu during run time?
>
> Yes.  How and to what extent depends on whether you are using TCG, KVM,
> or TCI.  QEMU also has gdbstub support so you can single-step execution
> and access CPU registers.
>
> Stefan


--
Alex Bennée

Reply via email to