Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Oct 2015 15:14:14 -0700
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Slawa Olhovchenkov <slw@zxy.spb.ru>
Cc:        John Baldwin <jhb@freebsd.org>, 'freebsd-arch' <freebsd-arch@freebsd.org>
Subject:   Re: Retiring in-tree GDB
Message-ID:  <5626BCB6.3000202@FreeBSD.org>
In-Reply-To: <20151020215008.GH42243@zxy.spb.ru>
References:  <2678091.es0AGJQ0Ou@ralph.baldwin.cx> <5626B15C.4080408@FreeBSD.org> <20151020215008.GH42243@zxy.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--j4BaDNiI86ramj2xlUVT5AdXO2oOve0Wi
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 10/20/2015 2:50 PM, Slawa Olhovchenkov wrote:
> On Tue, Oct 20, 2015 at 02:25:48PM -0700, Bryan Drewery wrote:
>=20
>> On 10/20/2015 1:36 PM, John Baldwin wrote:
>>> However, I would like to propose that we retire the in-tree GDB for s=
ome of
>>> our platforms (namely x86) for 11.  In particular, I think we should =
default
>>
>> Disabling/removing gdb. Definitely. It is unusable in many cases and t=
he
>> working gdb is just a 'pkg install' away.
>>
>>> to enabling lldb and disabling gdb for platforms that meet the follow=
ing
>>
>> Why should we include lldb in the base system? It is not needed to bui=
ld
>> or use the system and we can easily provide one from packages.
>>
>> Arguments about providing a default working system don't work here for=

>> me as we don't provide perl, python, valgrind, vim, emacs, X11, etc.  =
We
>> can provide lldb and gdb on the default DVD though.
>>
>> If we are actually going to "package base" in 11, we should not be
>> adding new things into base that can easily live in ports. Yes, I know=

>> lldb is already there but I don't think it should be.
>>
>> Can the same be said for tools such as truss, ktrace or nvi? Sure. The=

>> discussion is really "what packages should be installed by default".
>> The answer should be "what all, or most, users _need_" Do most users
>> need a debugger? I don't think so.
>=20
> When you need debuger you may don't have way to install it.
>=20

How did you get a system?

DVD? 'pkg add /mnt/cd/packages/gdb.txz'
Network? 'pkg install gdb'

Fetching the packages to a USB drive from another system works too using
'pkg fetch -o'.

--=20
Regards,
Bryan Drewery


--j4BaDNiI86ramj2xlUVT5AdXO2oOve0Wi
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJWJry2AAoJEDXXcbtuRpfPTgkH/jqbtmYao+hqx0kZhZykvq1W
66zBHzSNUXzpj7yIJeYXY37SFsOvsU7tJRCf0VwBiZPCnAqkj9KAsQ/Ld7xOmlBz
bPcR+YOjfvG2FP4YEepk3iAM0Qa4RJGgAnF2wsnfbJNEs8qLp8PDe6D8UtmKCtKb
e/nTLUEKR3h+GNQRgDj6OUwX7k40+dB7l2Qfz3SW0uUf5l32EBNmRMoIcRpIJI43
V+4PkFyWrO6Wss2erjSPpNbUsyZRDrubV3Tz2LIyAQuictU6JMnnME/lQ24X8Sgy
/R+FbVrk3Af9KDeWlB5qDXYwwWd4a7jvRQzUDwzVlzVcr32c95tnwni3lmv0w0U=
=VWoH
-----END PGP SIGNATURE-----

--j4BaDNiI86ramj2xlUVT5AdXO2oOve0Wi--



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