diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:26:05 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:26:05 +0000 |
| commit | 14f1b3e8826ce43b978db93a62d1166055db5394 (patch) | |
| tree | 0a00ad8d3498783fe0193f3b656bca17c4c8697d /source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm.h | |
| parent | 4ee8c119c71a06dcad1e0fecc8c675e480e59337 (diff) | |
Notes
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_ |
