]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
drop GDB_LIBEXEC option (now always true)
authoremaste <emaste@FreeBSD.org>
Mon, 30 Mar 2020 20:05:09 +0000 (20:05 +0000)
committeremaste <emaste@FreeBSD.org>
Mon, 30 Mar 2020 20:05:09 +0000 (20:05 +0000)
commit50dfe6056219174bbc739e50a831115892aba48e
tree6e9b4370510f19f12093d75609ae6292969f8def
parenta4378ceb9f4c329dcadcb112f5ca2c4d95e1a45b
drop GDB_LIBEXEC option (now always true)

In-tree gdb is essentially obsolete.  We kept it for sparc64 (because
gdb in ports lacked sparc64 support) and as a fallback for crashinfo.
gdb was installed to /libexec on all archs other than sparc64, where the
WITHOUT_GDB_LIBEXEC option was default, with gdb installed to /usr/bin.
With sparc64's retirement WITH_GDB_LIBEXEC became the default for all
architectures, but it was still possible to set it off and install gdb
into /usr/bin.

As the next step in gdb's retirement, remove the option and install gdb
only into /libexec as the crashinfo fallback. We expect users to install
the gdb port or package for debugging. The in-tree gdb lacks support for
a number of supported architectures and does not support contemporary
DWARF debug info.

Reviewed by: jhb (earlier)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D24227
ObsoleteFiles.inc
gnu/usr.bin/gdb/Makefile
gnu/usr.bin/gdb/Makefile.inc
share/mk/src.opts.mk
tools/build/mk/OptionalObsoleteFiles.inc
tools/build/options/WITHOUT_GDB_LIBEXEC [deleted file]
tools/build/options/WITH_GDB_LIBEXEC [deleted file]