> I am using kqemu and qemu built from May 2 snapshot if that
> matters. This was a stock 5.4-RELEASE complied locallly
> with
>
> makeoptionsDEBUG=-g
>
> added the kernel config file. The host was also running 5.4
> but that should not matter.
Ugh... Should've done a diff with GENER
Hmm... I've used qemu a bit to debug the kernel. Even used
it to debug a loadable module. Here is what I did:
# qemu -s img
# cd
# gdb kernel.debug
(gdb) target remote localhost:1234
...
(gdb) l kldload
739 /*
740 * MPSAFE
741 */
742 int
743 kldload(struct thread *td, stru