qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Attila Csosz <csosz77@gmail.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] debugging qemu arm
Date: Sat, 31 Jan 2015 17:50:58 +0100	[thread overview]
Message-ID: <CAMYm8FpyOUoctYWV8utc0p5T+PvOrdxCL7Op9U7HawLC+0mFPg@mail.gmail.com> (raw)
In-Reply-To: <CAFEAcA__s3O9sEwyE2iqho3wWRG51VaV=BOO+sK+38ZMVB-kmw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 692 bytes --]

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
>

[-- Attachment #2: Type: text/html, Size: 1191 bytes --]

  reply	other threads:[~2015-01-31 16:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-31 12:25 [Qemu-devel] debugging qemu arm Attila Csosz
2015-01-31 16:43 ` Peter Maydell
2015-01-31 16:50   ` Attila Csosz [this message]
2015-01-31 16:59     ` Peter Maydell
2015-01-31 17:10       ` Attila Csosz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMYm8FpyOUoctYWV8utc0p5T+PvOrdxCL7Op9U7HawLC+0mFPg@mail.gmail.com \
    --to=csosz77@gmail.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).