From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHbG9-0003Ch-2X for qemu-devel@nongnu.org; Sat, 31 Jan 2015 11:51:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHbG7-0003vD-Hv for qemu-devel@nongnu.org; Sat, 31 Jan 2015 11:51:01 -0500 Received: from mail-la0-x22e.google.com ([2a00:1450:4010:c03::22e]:48709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHbG7-0003uu-9E for qemu-devel@nongnu.org; Sat, 31 Jan 2015 11:50:59 -0500 Received: by mail-la0-f46.google.com with SMTP id s18so29819001lam.5 for ; Sat, 31 Jan 2015 08:50:58 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: Date: Sat, 31 Jan 2015 17:50:58 +0100 Message-ID: From: Attila Csosz Content-Type: multipart/alternative; boundary=001a1134cf28821c47050df5861f Subject: Re: [Qemu-devel] debugging qemu arm List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers --001a1134cf28821c47050df5861f Content-Type: text/plain; charset=ISO-8859-1 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 wrote: > On 31 January 2015 at 12:25, Attila Csosz 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 > --001a1134cf28821c47050df5861f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Where is the arm-to-x86 call in QEMU code? Which tool/libr= ary call generates this code?

Attila


On Sat, Jan 31, 2015 at 5:43 PM, Peter Mayde= ll <peter.maydell@linaro.org> wrote:
On 31 January 2015 at 12:25, Attila Csos= z <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:
=A0(1) we translate ARM code into x86 instructions
=A0(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

--001a1134cf28821c47050df5861f--