diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2021-11-19 20:06:13 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2021-11-19 20:06:13 +0000 |
| commit | c0981da47d5696fe36474fcf86b4ce03ae3ff818 (patch) | |
| tree | f42add1021b9f2ac6a69ac7cf6c4499962739a45 /lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_mips64.h | |
| parent | 344a3780b2e33f6ca763666c380202b18aab72a3 (diff) | |
Diffstat (limited to 'lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_mips64.h')
| -rw-r--r-- | lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_mips64.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_mips64.h b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_mips64.h index 6a3eb86a9231..8e300ed829c9 100644 --- a/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_mips64.h +++ b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_mips64.h @@ -54,8 +54,11 @@ public: private: enum RegSetKind { GPRegSet, + FPRegSet, }; - std::array<uint8_t, sizeof(reg)> m_reg_data; + std::array<uint8_t, sizeof(reg) + sizeof(fpreg)> m_reg_data; + + llvm::Optional<RegSetKind> GetSetForNativeRegNum(uint32_t reg_num) const; Status ReadRegisterSet(RegSetKind set); Status WriteRegisterSet(RegSetKind set); |
