[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-

[Qemu-devel] Current state of SMP?

2007-08-21 Thread Simon Peter
Hi, I'd like to emulate an SMP x86 system using QEMU, running on Linux-x86. For a first test, I tried to boot Debian Live with it using the following command line: qemu -cdrom debian-live-sid-i386-standard.iso -smp 2 It gets to the bootloader (LILO), but the keyboard is not responding. Adding -n

[Qemu-devel] Tracing function calls

2007-07-19 Thread Simon Peter
Hi, is it possible to log some values from memory every time the instruction counter hits a certain value? Effectively, I want to achieve what would be called a tracepoint in GDB. Since tracepoints seem not to be implemented with QEMU, I would like to do a quick hack that just logs the variables