qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Debugging x86-64 apps from a 32bit host?
@ 2007-10-19  4:56 Simon Peter
  2007-10-20 15:06 ` andrzej zaborowski
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Peter @ 2007-10-19  4:56 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] Debugging x86-64 apps from a 32bit host?
  2007-10-19  4:56 [Qemu-devel] Debugging x86-64 apps from a 32bit host? Simon Peter
@ 2007-10-20 15:06 ` andrzej zaborowski
  0 siblings, 0 replies; 2+ messages in thread
From: andrzej zaborowski @ 2007-10-20 15:06 UTC (permalink / raw)
  To: qemu-devel

Hi,

On 19/10/2007, Simon Peter <simon.peter@gmx.de> wrote:
> 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.

Does the patch in
http://lists.gnu.org/archive/html/qemu-devel/2007-09/msg00062.html fix
it for you?

Regards,
Andrew

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-20 15:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-19  4:56 [Qemu-devel] Debugging x86-64 apps from a 32bit host? Simon Peter
2007-10-20 15:06 ` andrzej zaborowski

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).