diff options
author | Jason Molenda <jason@molenda.com> | 2022-08-02 13:46:18 -0700 |
---|---|---|
committer | Jason Molenda <jason@molenda.com> | 2022-08-02 13:49:30 -0700 |
commit | d8879fba8825b9799166ba0ea552d4027bfb8ad1 (patch) | |
tree | 4510a38b0028d9f09246c229926fca47fd7b958c /lldb/docs | |
parent | 40eec27618d0db2e2753abdf3b84832056d508a6 (diff) | |
download | llvm-d8879fba8825b9799166ba0ea552d4027bfb8ad1.tar.gz |
Allow firmware binaries to be specified only by load address
Add support to Mach-O corefiles and to live gdb remote serial protocol
connections for the corefile/remote stub to provide a list of load
addresses of binaries that should be found & loaded by lldb, and nothing
else. lldb will try to parse the binary out of memory, and if it can
find a UUID, try to find a binary & its debug information based on the
UUID, falling back to using the memory image if it must.
A bit of code unification from three parts of lldb that were loading
individual binaries already, so there is a shared method in
DynamicLoader to handle all of the variations they were doing.
Differential Revision: https://reviews.llvm.org/D130813
rdar://94249937
rdar://94249384
Diffstat (limited to 'lldb/docs')
-rw-r--r-- | lldb/docs/lldb-gdb-remote.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/docs/lldb-gdb-remote.txt b/lldb/docs/lldb-gdb-remote.txt index 820f3bd7bbc2..497980ed1229 100644 --- a/lldb/docs/lldb-gdb-remote.txt +++ b/lldb/docs/lldb-gdb-remote.txt @@ -1073,6 +1073,12 @@ main-binary-uuid: is the UUID of a firmware type binary that the gdb stub knows main-binary-address: is the load address of the firmware type binary main-binary-slide: is the slide of the firmware type binary, if address isn't known +binary-addresses: A comma-separated list of binary load addresses base16. + lldb will parse the binaries in memory to get UUIDs, then + try to find the binaries & debug info by UUID. Intended for + use with a small number of firmware type binaries where the + search for binary/debug info may be expensive. + //---------------------------------------------------------------------- // "qShlibInfoAddr" // |