Where is the arm-to-x86 call in QEMU code? Which tool/library call generates this code?

Attila


On Sat, Jan 31, 2015 at 5:43 PM, Peter Maydell <peter.maydell@linaro.org> wrote:
On 31 January 2015 at 12:25, Attila Csosz <csosz77@gmail.com> wrote:
> I'm trying to debug qemu when it executes a simple arm executable. Where is
> in the qemu code when executing a single arm asm instruction?

QEMU works in two phases:
 (1) we translate ARM code into x86 instructions
 (2) we run the instructions created in phase 1

So when we're executing an ARM instruction we're in phase 2;
this code was generated at runtime and isn't part of QEMU's
source code at all.

-- PMM