Enable LLDB by default on amd64 and arm64
LLDB is usable for userland core file and live debugging on amd64, and for userland core file debugging on arm64. In general it works at least as well on FreeBSD as our in-tree gdb version, so enable it by default to allow for broader use and testing. An LLDB tutorial is available at http://lldb.llvm.org/tutorial.html, and a table mapping GDB commands to LLDB commands can be found at http://lldb.llvm.org/lldb-gdb.html . LLDB also has some level of support for FreeBSD on arm, mips, i386, and powerpc, but is not yet ready to have them enabled by default. Reviewed by: gnn Relnotes: Yes
This commit is contained in:
parent
35fad84fec
commit
d0ba16f775
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=292350
@ -180,7 +180,6 @@ __DEFAULT_NO_OPTIONS = \
|
||||
DTRACE_TESTS \
|
||||
EISA \
|
||||
HESIOD \
|
||||
LLDB \
|
||||
NAND \
|
||||
OFED \
|
||||
OPENLDAP \
|
||||
@ -240,6 +239,11 @@ BROKEN_OPTIONS+=PROFILE # "sorry, unimplemented: profiler support for RISC-V"
|
||||
BROKEN_OPTIONS+=TESTS # "undefined reference to `_Unwind_Resume'"
|
||||
BROKEN_OPTIONS+=CXX # "libcxxrt.so: undefined reference to `_Unwind_Resume_or_Rethrow'"
|
||||
.endif
|
||||
.if ${__T} == "aarch64" || ${__T} == "amd64"
|
||||
__DEFAULT_YES_OPTIONS+=LLDB
|
||||
.else
|
||||
__DEFAULT_NO_OPTIONS+=LLDB
|
||||
.endif
|
||||
# LLVM lacks support for FreeBSD 64-bit atomic operations for ARMv4/ARMv5
|
||||
.if ${__T} == "arm" || ${__T} == "armeb"
|
||||
BROKEN_OPTIONS+=LLDB
|
||||
|
Loading…
Reference in New Issue
Block a user