qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Simon Peter <simon.peter@gmx.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Debugging x86-64 apps from a 32bit host?
Date: Fri, 19 Oct 2007 04:56:20 +0000	[thread overview]
Message-ID: <20071019045620.ed157768.simon.peter@gmx.de> (raw)

Hi,

is it possible to debug e.g. a x86-64 Linux kernel running in
qemu-system-x86_64 on a 32bit host from that host with GDB?

I cross-compiled a version of GDB with x86-64 support, so it can load
the debugging symbols from the kernel (which is an ELF64 binary) and
attached that to a running qemu-system-x86_64, but it always tells me
the instruction pointer is at 0x0.

Is this supported by QEMU?

Thanks,
Simon

             reply	other threads:[~2007-10-19  2:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-19  4:56 Simon Peter [this message]
2007-10-20 15:06 ` [Qemu-devel] Debugging x86-64 apps from a 32bit host? andrzej zaborowski

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=20071019045620.ed157768.simon.peter@gmx.de \
    --to=simon.peter@gmx.de \
    --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).