-
Notifications
You must be signed in to change notification settings - Fork 16.8k
[lldb] Improve FreeBSD support on LLDB #180061
Copy link
Copy link
Open
Labels
lldbmetaissueIssue to collect references to a group of similar or related issues.Issue to collect references to a group of similar or related issues.platform:freebsd
Milestone
Description
These are comprehensive list of tasks aimed for LLVM 23.x release. This aims FreeBSD 14 and above since FreeBSD 13 and below will be EOLed before LLVM 23.1.0 release (see Supported FreeBSD releases).
Note: ppc/ppc64 (big endian 32/64bit PowerPC) support in LLDB is incomplete. The architecture isn't used actively anymore so it is very hard to maintain and test features on it. Thus, I'm not adding support for ppc/ppc64. See freebsd-arch mailing thread for more information.
Userspace Debugging (freebsd)
Architecture support
Debugger
- Print TLS data (see [lldb] Handle STT_TLS symbol type in ELF parser #178975)
Deprecation/Removal
- [lldb] Remove mips64 support for FreeBSD #179582, [lldb][Process] Remove mips64 POSIX support #179987, [ReleaseNotes] Announce ending support for FreeBSD 13 and below in 23 #180194
- [lldb] [Process/FreeBSD] Assume minimum is FreeBSD 14 #179587
Misc
- [lldb] [Process/Utility] Update code url for FreeBSD in comments #178556
- lldb on FreeBSD picks the wrong address for functions found in both libc and libsys #180444
- In lldb on FreeBSD
thread step-outdoesn't always work #180445
Kernel Debugging (FreeBSD-Kernel-Core, previously freebsd-kernel)
Architecture support
- [lldb][Process/FreeBSDKernel] Add arm support #180674
- [lldb][Process/FreeBSDKernel] Fix broken debugging on aarch64 #180222
- [lldb][Process/FreeBSDKernelCore] Add ppc64le support #180669
- [lldb][Process/FreeBSDKernelCore] Add riscv64 support #180670
Debugger
- [lldb][Process/FreeBSDKernel] Print unread message buffer on start #178027
- [lldb] [Process/FreeBSDKernel] Select paniced thread automatically #178069
- [lldb] [Process/FreeBSDKernel] List threads in correct order #178306 [lldb][Process/FreeBSDKernelCore] Fix thread ordering #187976
- [lldb][Process/FreeBSDKernelCore] Implement DoWriteMemory() #183237 [lldb][Process/FreeBSDKernelCore] Implement DoWriteMemory() #183553
- [lldb][Process/FreeBSDKernelCore] Defer actual core loading to DoLoadCore() #186626
- [lldb][Process/FreeBSDKernelCore] Add command for refreshing thread list #188692
- Implement trapframe unwinding
- [lldb][Process/FreeBSDKernelCore] Add assertion for pcb #183969
- [lldb][Process/FreeBSDKernelCore] Improve DoUpdateThreadList() #183981
- [lldb][Process/FreeBSDKernelCore] Set kernel displacement #183975
- Improve error handling in
ProcessFreeBSDKernelCore.cpp - [lldb][FreeBSDKernel] Add missing error checks in DynamicLoader #189250
Testing
- Current
Process/FreeBSDKerneltesting suite is a few years old and it depends on quirks like patching LLDB codebase which makes testing harder. The goal is to reconstruct a comprehensive testing suite forProcess/FreeBSDKernelCoreplugin.
Deprecation/Removal
Misc
Reactions are currently unavailable
Metadata
Metadata
Labels
lldbmetaissueIssue to collect references to a group of similar or related issues.Issue to collect references to a group of similar or related issues.platform:freebsd
Type
Fields
Give feedbackNo fields configured for Feature.