Remote Kernel Debugging over QEMU?

Andrey V. Elsukov bu7cher at
Sat Mar 8 20:53:16 UTC 2008

08.03.08, 22:45, "Yoshihiro Ota" <ota at>:

> Has anyone tried to remote-debugging of a system running on Qemu?
> I thought if I could attach kgdb from Qemu host to a guest FreeBSD
> running on Qemu, it would be very helpful for many reasons, i.e.
> no hardware requirements, avoid fscking all disks, and so on.
> Has anyone ever attempted?  I spent a half day but due to lack of
> remote debugging experience and some other knowledge, it wasn't
> successful.

I tried debugging via serial console 2 years ago. It was workable.

WBR, Andrey V. Elsukov

More information about the freebsd-hackers mailing list