Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2023 09:25:12 +0000
From:      Gary Jennejohn <garyj@gmx.de>
To:        Juraj Lutter <otis@FreeBSD.org>
Cc:        Alexander Chernikov <melifaro@FreeBSD.org>, current@freebsd.org
Subject:   Re: ifconfig dumps core and gdb uses an undefined symbol
Message-ID:  <20230614112512.43b5ce0f@ernst.home>
In-Reply-To: <FBBAB011-1530-4497-B612-3D0F65EF704E@FreeBSD.org>
References:  <20230614095956.26234554@ernst.home> <7A98AD66-35D3-447B-B808-2A52E9AD28F3@FreeBSD.org> <20230614110135.15b928db@ernst.home> <5822A2EB-F04E-4AAE-B6B4-E37918A161C5@FreeBSD.org> <FBBAB011-1530-4497-B612-3D0F65EF704E@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 emitt=
ing
> >> some weird errors.
> >>
> >> -O0 -g3 removes too much and gdb shows no useful information.
> >
> > Build it with:
> >
> > WITH_DEBUG=3D1 DEBUG_FLAGS=3D"-O3 -g3"
> >
>
> Silly me.
>
> Actually with:
>
> WITH_DEBUG=3D1 DEBUG_FLAGS=3D"-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.

=2D-
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230614112512.43b5ce0f>