Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2014 16:45:51 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        Dimitry Andric <dim@freebsd.org>, "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>
Subject:   Re: Time for turning off gdb by default? Or worse...
Message-ID:  <C31DECAD-1019-4F38-815F-3110CF19A9F3@bsdimp.com>
In-Reply-To: <CAJ-VmomceTdX5edBirpPk8tDJAQb1QMvnGGnamqCRvXPEyPiSg@mail.gmail.com>
References:  <DD38131E-9A43-4EFA-A27D-ED6B64F6A35A@bsdimp.com> <201404091145.58792.jhb@freebsd.org> <674B7C0B-9235-4030-9A44-7F9984CA2F67@bsdimp.com> <201404101702.52622.jhb@freebsd.org> <CAJ-Vmo=pCBkYtxmwR5usdtZnaPNRwrStGxeLd9Pz4PDf1M6Ntg@mail.gmail.com> <59CD3E44-42EE-435A-8953-AA548EA04FE3@FreeBSD.org> <CAJ-VmomceTdX5edBirpPk8tDJAQb1QMvnGGnamqCRvXPEyPiSg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Apr 10, 2014, at 4:42 PM, Adrian Chadd <adrian@freebsd.org> wrote:

> On 10 April 2014 15:33, Dimitry Andric <dim@freebsd.org> wrote:
>> On 10 Apr 2014, at 23:40, Adrian Chadd <adrian@freebsd.org> wrote:
>>> [snip]
>>>=20
>>> My (-1) action item:
>>>=20
>>> * make llvm in -HEAD generate dwarf-2 code by default so the base
>>> system gdb can be again used against binaries that have debug =
symbols,
>>> at least until a viable replacement is ready.
>>=20
>> Just do:
>>=20
>> pkg install gdb
>=20
> I think you're missing the whole point.
>=20
> Also, that doesn't work on MIPS. Or ARM. Or PPC. Or IA-64.
>=20

If it did, we could just turn off gdb and life would be good=85

Please see https://wiki.freebsd.org/GdbRetirement and edit it based on =
testing that you can do. That wiki page is there to drive this issue to =
Dimitry=92s answer in the fullness of time.

If we had kgdb support in ports and arm worked, we might be able to get =
away with it, but we=92re not even close on either of those at the =
moment...

Warner

P.S. Minor quibble: it does work on powerpc, but not sparc64. Doesn=92t =
change your point though.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C31DECAD-1019-4F38-815F-3110CF19A9F3>