How to install base-dbg post-install?

Craig Leres <[email protected]> Tue, 19 May 2026 17:18:02 -0700
Newsgroups gmane.os.freebsd.devel.hackers
Message-ID <[email protected]>
I'm debugging a program and something is getting corrupt such that a 
call to syslog() causes a segv -- the backtrace has lots of anonymous 
libc in it. This of course made me want debugging symbols for libc.

After playing with a memstick installer and spare machine I downloaded 
base-dbg.txz from ftp.freebsd.org (I'm currently running 14.4) and 
populated /usr/lib/debug. This works great and will likely prove crucial 
to finding my bug.

Meanwhile, does my system now look like I selected base-dbg when I 
originally installed it? Will freebsd-update detect /usr/lib/debug and 
keep it updated going forward?

Is there a more straightforward way to install base-dbg?

		Craig