llvm-project/lldb/source
Michał Górny 1a600266c3 [lldb] Initial version of FreeBSD remote process plugin
Add a new FreeBSD Process plugin using client/server model.  This plugin
is based on the one used by NetBSD.  It currently supports a subset
of functionality for amd64.  It is automatically used when spawning
lldb-server.  It can also be used by lldb client by setting
FREEBSD_REMOTE_PLUGIN environment variable (to any value).

The code is capable of debugging simple single-threaded programs.  It
supports general purpose, debug and FPU registers (up to XMM) of amd64,
basic signalling, software breakpoints.

Adding the support for the plugin involves removing some dead code
from FreeBSDPlatform plugin (that was not ever used because
CanDebugProcess() returned false), and replacing it with appropriate
code from NetBSD platform support.

Differential Revision: https://reviews.llvm.org/D88796
2020-10-08 16:03:00 +02:00
..
API [lldb] Symlink the Clang resource directory to the LLDB build directory in standalone builds 2020-10-06 09:28:39 +02:00
Breakpoint [lldb][NFC] Use llvm::is_contained instead of std::find in a few places 2020-08-13 14:11:28 +02:00
Commands Reland "[lldb] Don't send invalid region addresses to lldb server" 2020-10-05 11:50:29 +01:00
Core Add a "Trace" plug-in to LLDB to add process trace support in stages. 2020-09-21 17:13:18 -07:00
DataFormatters [lldb][NFC] Remove FormatMap 2020-07-23 18:34:59 +02:00
Expression Use zu rather than llu format specifier for size_t (-Wformat warning fix). 2020-09-16 19:28:05 -07:00
Host [lldb] Check for and use ptsname_r if available 2020-10-07 15:29:29 +02:00
Initialization [lldb] Always record both the working and home directory. 2020-09-02 20:53:11 -07:00
Interpreter Add a "Trace" plug-in to LLDB to add process trace support in stages. 2020-09-21 17:13:18 -07:00
Plugins [lldb] Initial version of FreeBSD remote process plugin 2020-10-08 16:03:00 +02:00
Symbol Revert "Revert "Add the ability to write target stop-hooks using the ScriptInterpreter."" 2020-09-29 12:01:14 -07:00
Target [lldb] Format unix signal table (NFC) 2020-10-06 23:36:56 -07:00
Utility Utility: ignore OS version on non-Darwin targets in `ArchSpec` 2020-09-23 18:21:34 -07:00
CMakeLists.txt Make LLVM_APPEND_VC_REV=OFF affect clang, lld, and lldb as well. 2020-01-16 19:04:08 -05:00
lldb.cpp [lldb] Fix version string when using LLDB_REVISION but not LLDB_REPOSITORY 2020-02-20 10:07:50 -08:00