[all-commits] [llvm/llvm-project] 25fbbc: [lldb] Support SaveCore() from gdb-remote client

Michał Górny via All-commits all-commits at lists.llvm.org
Mon Sep 6 09:33:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25fbbc5936c0e05095618f4b80b303227fbb708b
      https://github.com/llvm/llvm-project/commit/25fbbc5936c0e05095618f4b80b303227fbb708b
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2021-09-06 (Mon, 06 Sep 2021)

  Changed paths:
    M lldb/include/lldb/Target/Process.h
    M lldb/source/Core/PluginManager.cpp
    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
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
    M lldb/test/API/functionalities/process_save_core/TestProcessSaveCore.py

  Log Message:
  -----------
  [lldb] Support SaveCore() from gdb-remote client

Extend PluginManager::SaveCore() to support saving core dumps
via Process plugins.  Implement the client-side part of qSaveCore
request in the gdb-remote plugin, that creates the core dump
on the remote host and then uses vFile packets to transfer it.

Differential Revision: https://reviews.llvm.org/D101329




More information about the All-commits mailing list