That's what I was looking for. thanks, david
Uri Lublin wrote: > Avi Kivity wrote: >> david ahern wrote: >> >>> Attaching gdb to qemu you work with addresses as seen by the qemu >>> process; the >>> idea is to work with addresses as seen inside the guest. >>> >>> >>> Now, if you attach gdb to the qemu process, >>> >>> gdb /usr/local/bin/qemu-system-x86_64 2346 >>> >> I meant connecting to the gdb stub in qemu that represents the guest: >> >> (gdb) target remote localhost:1234 >> >> Of course, it means starting qemu with the gdb stub enabled. We might >> add a monitor command to start it after the fact. >> > gdbserver is the monitor command you're looking for: > (qemu) help gdbserver > gdbserver [port] -- start gdbserver session (default port=1234) > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel