mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
Disable in-tree GDB by default on x86, mips, and powerpc.
GDB in ports contains all of the functionality as GDB in base (including kgdb) for these platforms along with additional functionality. In-tree GDB remains enabled on ARM and sparc64. GDB in ports does not currently support kernel debugging on arm, and ports GDB for sparc64 has not been tested (though it does include sparc64 support). Reviewed by: bdrewery, emaste, imp Relnotes: yes Sponsored by: DARPA / AFRL Differential Revision: https://reviews.freebsd.org/D10399
This commit is contained in:
parent
3384149c15
commit
99b8bccddc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=317094
@ -41,7 +41,7 @@ __<src.opts.mk>__:
|
||||
# that haven't been converted over.
|
||||
#
|
||||
|
||||
# These options are used by src the builds
|
||||
# These options are used by the src builds
|
||||
|
||||
__DEFAULT_YES_OPTIONS = \
|
||||
ACCT \
|
||||
@ -96,7 +96,6 @@ __DEFAULT_YES_OPTIONS = \
|
||||
FTP \
|
||||
GAMES \
|
||||
GCOV \
|
||||
GDB \
|
||||
GNU \
|
||||
GNU_DIFF \
|
||||
GNU_GREP \
|
||||
@ -263,6 +262,14 @@ __DEFAULT_NO_OPTIONS+=LLDB
|
||||
.if ${__T} == "arm" || ${__T} == "armeb"
|
||||
BROKEN_OPTIONS+=LLDB
|
||||
.endif
|
||||
# GDB in base is generally less functional than GDB in ports. Ports GDB
|
||||
# does not yet contain kernel support for arm, and sparc64 kernel support
|
||||
# has not been tested.
|
||||
.if ${__T:Marm*} != "" || ${__T} == "sparc64"
|
||||
__DEFAULT_YES_OPTIONS+=GDB
|
||||
.else
|
||||
__DEFAULT_NO_OPTIONS+=GDB
|
||||
.endif
|
||||
# Only doing soft float API stuff on armv6
|
||||
.if ${__T} != "armv6"
|
||||
BROKEN_OPTIONS+=LIBSOFT
|
||||
|
Loading…
Reference in New Issue
Block a user