diff options
Diffstat (limited to 'source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm.h')
| -rw-r--r-- | source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm.h | 55 |
1 files changed, 23 insertions, 32 deletions
diff --git a/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm.h b/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm.h index 0e74897b5b5c..c0850e5e414e 100644 --- a/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm.h +++ b/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm.h @@ -1,4 +1,4 @@ -//===-- RegisterContextCorePOSIX_arm.h --------------------------*- C++ -*-===// +//===-- RegisterContextPOSIXCore_arm.h --------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -14,53 +14,44 @@ // C++ Includes // Other libraries and framework includes // Project includes -#include "lldb/Core/DataBufferHeap.h" #include "Plugins/Process/Utility/RegisterContextPOSIX_arm.h" +#include "lldb/Core/DataBufferHeap.h" +#include "lldb/Core/DataExtractor.h" -class RegisterContextCorePOSIX_arm : - public RegisterContextPOSIX_arm -{ +class RegisterContextCorePOSIX_arm : public RegisterContextPOSIX_arm { public: - RegisterContextCorePOSIX_arm (lldb_private::Thread &thread, - lldb_private::RegisterInfoInterface *register_info, - const lldb_private::DataExtractor &gpregset, - const lldb_private::DataExtractor &fpregset); + RegisterContextCorePOSIX_arm( + lldb_private::Thread &thread, + lldb_private::RegisterInfoInterface *register_info, + const lldb_private::DataExtractor &gpregset, + const lldb_private::DataExtractor &fpregset); - ~RegisterContextCorePOSIX_arm() override; + ~RegisterContextCorePOSIX_arm() override; - bool - ReadRegister(const lldb_private::RegisterInfo *reg_info, - lldb_private::RegisterValue &value) override; + bool ReadRegister(const lldb_private::RegisterInfo *reg_info, + lldb_private::RegisterValue &value) override; - bool - WriteRegister(const lldb_private::RegisterInfo *reg_info, - const lldb_private::RegisterValue &value) override; + bool WriteRegister(const lldb_private::RegisterInfo *reg_info, + const lldb_private::RegisterValue &value) override; - bool - ReadAllRegisterValues(lldb::DataBufferSP &data_sp) override; + bool ReadAllRegisterValues(lldb::DataBufferSP &data_sp) override; - bool - WriteAllRegisterValues(const lldb::DataBufferSP &data_sp) override; + bool WriteAllRegisterValues(const lldb::DataBufferSP &data_sp) override; - bool - HardwareSingleStep(bool enable) override; + bool HardwareSingleStep(bool enable) override; protected: - bool - ReadGPR() override; + bool ReadGPR() override; - bool - ReadFPR() override; + bool ReadFPR() override; - bool - WriteGPR() override; + bool WriteGPR() override; - bool - WriteFPR() override; + bool WriteFPR() override; private: - lldb::DataBufferSP m_gpr_buffer; - lldb_private::DataExtractor m_gpr; + lldb::DataBufferSP m_gpr_buffer; + lldb_private::DataExtractor m_gpr; }; #endif // liblldb_RegisterContextCorePOSIX_arm_h_ |
