Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Recent install images do not install netbsd.gdb




> On Jan 15, 2022, at 9:43 AM, pin <voidpin%protonmail.com@localhost> 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

Attachment: signature.asc
Description: Message signed with OpenPGP



Home | Main Index | Thread Index | Old Index