Re: How to install base-dbg post-install?

Alan Somers <[email protected]> Tue, 19 May 2026 18:25:49 -0600
Newsgroups gmane.os.freebsd.devel.hackers
Message-ID <CAOtMX2hyp2Cy2e3sDh1MWHVvBQV2sgmc6yBu35h4o43PUUqG1Q@mail.gmail.com>
You did just the right thing, but for one step.  After untarring
base-dbg.txz, you should immediately run freebsd-update fetch and
freebsd-update install. It will Do The Right Thing. Then you can debug
away.

On Tue, May 19, 2026, 6:18 PM Craig Leres <[email protected]> wrote:

> 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?


Yes


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

No


>                 Craig
>
>