On Tue, Dec 09, 2025 at 02:26:45PM +0000, Van Ly wrote:
> The effect I was after was to make the core file drops meaningful when
> put through gdb.  Next time around, I'll leave out MKDEBUGLIB.  Thanks.

For userland core files having MKDEBUG=yes should be enough
(or installing debug and xdebug sets).

For kernel core dumps you could use something like:

         build.sh kernel.gdb=GENERIC

which will create a "netbsd" kernel and also a "netbsd.gdb" file to feed
into gdb for better debug info.

Martin

Reply via email to