[all-commits] [llvm/llvm-project] 8244fc: [lldb] [Process/FreeBSDRemote] Introduce mips64 su...

Michał Górny via All-commits all-commits at lists.llvm.org
Mon Feb 8 09:27:57 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8244fc505def67f1094713202a2345f0c39d33dd
      https://github.com/llvm/llvm-project/commit/8244fc505def67f1094713202a2345f0c39d33dd
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2021-02-08 (Mon, 08 Feb 2021)

  Changed paths:
    M lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
    M lldb/source/Plugins/Process/FreeBSDRemote/CMakeLists.txt
    M lldb/source/Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.cpp
    M lldb/source/Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.h
    A lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_mips64.cpp
    A lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_mips64.h
    M lldb/source/Plugins/Process/FreeBSDRemote/NativeThreadFreeBSD.cpp
    M lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
    M lldb/source/Plugins/Process/Linux/NativeProcessLinux.h
    M lldb/source/Plugins/Process/Utility/CMakeLists.txt
    A lldb/source/Plugins/Process/Utility/NativeProcessSoftwareSingleStep.cpp
    A lldb/source/Plugins/Process/Utility/NativeProcessSoftwareSingleStep.h
    M lldb/unittests/Process/Utility/RegisterContextFreeBSDTest.cpp

  Log Message:
  -----------
  [lldb] [Process/FreeBSDRemote] Introduce mips64 support

Introduce mips64 support to match the legacy FreeBSD plugin. Similarly
to the legacy plugin, the code does not support FPU registers at the
moment.  The support for them will be submitted separately as it
requires changes to the register context shared by both plugins.

This also includes software single-stepping support that is moved from
the Linux plugin into a common Utility class.  The FreeBSD code also
starts explicitly ignoring EINVAL from PT_CLEARSTEP since this is easier
to implement than checking whether hardware single-stepping were used.

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




More information about the All-commits mailing list