> On Jan 15, 2022, at 9:43 AM, pin <void...@protonmail.com> wrote: > >>> What should I run now instead? > >> If you have MKDEBUG set in your build or have installed the debug sets: > > Thanks! > I don't think I follow, though. Sorry. > > I didn't build this kernel, the system was installed from a daily-build image. > >> # gdb --eval-command="file /netbsd" --eval-command="target kvm > > Do you mean the debug symbols are baked into the kernel now?
The kernel debug symbols are installed in /usr/libdata/netbsd-<KERNELNAME>.debug and the debugger knows to look for them there. They are in the debug set. Did you install that? >> Now, there should be also be a netbsd.gdb in the sets if you have >> MKDEBUGKERNEL >> defined. > > I did run > # find / -name netbds.gdb > > and it returned nothing. Ok, that is not a problem as long as the previous works :-) christos
signature.asc
Description: Message signed with OpenPGP