Skip to contentSkip to conversation

Debugging x86-64 apps from a 32bit host?

Qemu-devel Simon Peter 2 participants 2 messages Oct 19, 2007 – Oct 20, 2007

lore
Share & tools
lore
#0 lore 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