aboutsummaryrefslogtreecommitdiff
path: root/tools/build/mk/OptionalObsoleteFiles.inc
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2020-03-30 20:05:09 +0000
committerEd Maste <emaste@FreeBSD.org>2020-03-30 20:05:09 +0000
commita52b0bb1d2db8eb6a8337a606c7069b9d4407d1b (patch)
tree6e9b4370510f19f12093d75609ae6292969f8def /tools/build/mk/OptionalObsoleteFiles.inc
parentc42a67671b4a79405982b96935c282943b7df8e5 (diff)
downloadsrc-a52b0bb1d2db8eb6a8337a606c7069b9d4407d1b.tar.gz
src-a52b0bb1d2db8eb6a8337a606c7069b9d4407d1b.zip
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
Notes
Notes: svn path=/head/; revision=359457
Diffstat (limited to 'tools/build/mk/OptionalObsoleteFiles.inc')
-rw-r--r--tools/build/mk/OptionalObsoleteFiles.inc11
1 files changed, 1 insertions, 10 deletions
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index 9f02de5396e9..11a5ce3648c5 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -2282,16 +2282,7 @@ OLD_FILES+=usr/bin/llvm-profdata
OLD_FILES+=usr/share/man/man1/llvm-cov.1.gz
.endif
-.if ${MK_GDB} == no || ${MK_GDB_LIBEXEC} == yes
-OLD_FILES+=usr/bin/gdb
-OLD_FILES+=usr/bin/gdbserver
-OLD_FILES+=usr/bin/kgdb
-OLD_FILES+=usr/share/man/man1/gdb.1.gz
-OLD_FILES+=usr/share/man/man1/gdbserver.1.gz
-OLD_FILES+=usr/share/man/man1/kgdb.1.gz
-.endif
-
-.if ${MK_GDB} == no || ${MK_GDB_LIBEXEC} == no
+.if ${MK_GDB} == no
OLD_FILES+=usr/libexec/gdb
OLD_FILES+=usr/libexec/kgdb
.endif