[all-commits] [llvm/llvm-project] 3053e1: [lldb] [Platform] Support synthesizing siginfo_t

Michał Górny via All-commits all-commits at lists.llvm.org
Thu Jan 27 04:34:09 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3053e143bef273a2e65519cea15be8f7ce6cd854
      https://github.com/llvm/llvm-project/commit/3053e143bef273a2e65519cea15be8f7ce6cd854
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2022-01-27 (Thu, 27 Jan 2022)

  Changed paths:
    M lldb/include/lldb/Target/Platform.h
    M lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
    M lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h
    M lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
    M lldb/source/Plugins/Platform/Linux/PlatformLinux.h
    M lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp
    M lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.h
    M lldb/source/Target/Platform.cpp
    M lldb/unittests/Platform/CMakeLists.txt
    A lldb/unittests/Platform/PlatformSiginfoTest.cpp
    A lldb/unittests/Platform/tools/generate_siginfo.c

  Log Message:
  -----------
  [lldb] [Platform] Support synthesizing siginfo_t

Support synthesizing the siginfo_t type from the Platform plugin.
This type is going to be used by LLDB client to process the raw siginfo
data received from lldb-server without the necessity of relying
on target's debug info being present.

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


  Commit: 1a8f60f5f5b8638a3e8e7fb31ba7ae9e17a7ff2d
      https://github.com/llvm/llvm-project/commit/1a8f60f5f5b8638a3e8e7fb31ba7ae9e17a7ff2d
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2022-01-27 (Thu, 27 Jan 2022)

  Changed paths:
    M lldb/bindings/interface/SBThread.i
    M lldb/include/lldb/API/SBPlatform.h
    M lldb/include/lldb/API/SBTarget.h
    M lldb/include/lldb/API/SBThread.h
    M lldb/include/lldb/API/SBType.h
    M lldb/include/lldb/Target/Thread.h
    M lldb/source/API/SBThread.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/ThreadGDBRemote.cpp
    M lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h
    M lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteClient.py

  Log Message:
  -----------
  [lldb] [gdb-remote] Support getting siginfo via API

Add Thread::GetSiginfo() and SBThread::GetSiginfo() methods to retrieve
the siginfo value from server.

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


Compare: https://github.com/llvm/llvm-project/compare/c5d2b97a6992...1a8f60f5f5b8


More information about the All-commits mailing list