Yeah, thank you Alex. If I use a linux on top of the qemu, for entering debug mode, do i need to compile kernel from source or it is not dependent on debugging qemu itself? and then is it possible to define a heterogeneous multicore platform in qemu?
Thanks and regards. ________________________________________ From: Alex Bennée <alex.ben...@linaro.org> Sent: Thursday, April 28, 2016 6:45 PM To: tutu sky Cc: Stefan Hajnoczi; qemu-devel@nongnu.org Subject: Re: [Qemu-devel] emulation details of qemu 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