[Lldb-commits] [PATCH] D95802: [lldb] [Process/FreeBSDRemote] Introduce mips64 support

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 1 10:47:14 PST 2021


mgorny created this revision.
mgorny added reviewers: krytarowski, emaste, labath.
Herald added subscribers: atanasyan, arichardson, sdardis.
mgorny requested review of this revision.

Introduce mips64 support to match the legacy FreeBSD plugin.  This
includes support for software single stepping that's in most part copied
from Linux.  The code explicitly ignores EINVAL from PT_CLEARSTEP
since this is easier to implement than checking whether hardware
single-stepping were used.

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.


https://reviews.llvm.org/D95802

Files:
  lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
  lldb/source/Plugins/Process/FreeBSDRemote/CMakeLists.txt
  lldb/source/Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.cpp
  lldb/source/Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.h
  lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_mips64.cpp
  lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_mips64.h
  lldb/source/Plugins/Process/FreeBSDRemote/NativeThreadFreeBSD.cpp
  lldb/unittests/Process/Utility/RegisterContextFreeBSDTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95802.320522.patch
Type: text/x-patch
Size: 23754 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210201/816ed7db/attachment-0001.bin>


More information about the lldb-commits mailing list