Re: ifconfig dumps core and gdb uses an undefined symbol

From: Gary Jennejohn <garyj_at_gmx.de>
Date: Wed, 14 Jun 2023 09:25:12 UTC
On Wed, 14 Jun 2023 11:14:13 +0200
Juraj Lutter <otis@FreeBSD.org> wrote:

> > On 14 Jun 2023, at 11:12, Juraj Lutter <otis@FreeBSD.org> wrote:
> >
> >
> >
> >> On 14 Jun 2023, at 11:01, Gary Jennejohn <garyj@gmx.de> wrote:
> >> I compiled gbd under /usr/ports and it now works, although it's emitting
> >> some weird errors.
> >>
> >> -O0 -g3 removes too much and gdb shows no useful information.
> >
> > Build it with:
> >
> > WITH_DEBUG=1 DEBUG_FLAGS="-O3 -g3"
> >
>
> Silly me.
>
> Actually with:
>
> WITH_DEBUG=1 DEBUG_FLAGS="-O0 -g3"
>

Thanks, but doesn't work:

#0  0x00002efcf61186c8 in ?? ()
(gdb) bt
#0  0x00002efcf61186c8 in ?? ()
#1  0x00002f051a2fe000 in ?? ()
#2  0x0000000000000000 in ?? ()
(gdb)

I've been a UNIX developer since 1984, so I have some experience using
gdb.

--
Gary Jennejohn