[all-commits] [llvm/llvm-project] 8a26ba: Load binary by UUID from qProcessInfo packet fields

Jason Molenda via All-commits all-commits at lists.llvm.org
Thu Dec 23 15:21:03 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a26ba6a02f1319ddaca017bbda81c2b82fb4050
      https://github.com/llvm/llvm-project/commit/8a26ba6a02f1319ddaca017bbda81c2b82fb4050
  Author: Jason Molenda <jason at molenda.com>
  Date:   2021-12-23 (Thu, 23 Dec 2021)

  Changed paths:
    M lldb/docs/lldb-gdb-remote.txt
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp

  Log Message:
  -----------
  Load binary by UUID from qProcessInfo packet fields

Support three new keys in the qProcessInfo response from the remote
gdb stub to handle the case of attaching to a core running some type
of standalone/firmware code and the stub knows the UUID and load
address-or-slide for the binary.  There will be no proper DynamicLoader
plugin in this scenario, but we can try to locate and load the binary
into lldb at the correct offset.

Differential Revision: https://reviews.llvm.org/D116211
rdar://75191077




More information about the All-commits mailing list