Re: [Qemu-devel] Debugging x86-64 apps from a 32bit host?

2007-10-20 Thread andrzej zaborowski
Hi,

On 19/10/2007, Simon Peter <[EMAIL PROTECTED]> 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





[Qemu-devel] Debugging x86-64 apps from a 32bit host?

2007-10-18 Thread Simon Peter
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