LLDB  mainline
RegisterContextPOSIXCore_mips64.h
Go to the documentation of this file.
1 //===-- RegisterContextPOSIXCore_mips64.h -----------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLDB_SOURCE_PLUGINS_PROCESS_ELF_CORE_REGISTERCONTEXTPOSIXCORE_MIPS64_H
10 #define LLDB_SOURCE_PLUGINS_PROCESS_ELF_CORE_REGISTERCONTEXTPOSIXCORE_MIPS64_H
11 
16 
18 public:
20  lldb_private::Thread &thread,
22  const lldb_private::DataExtractor &gpregset,
23  llvm::ArrayRef<lldb_private::CoreNote> notes);
24 
26 
27  bool ReadRegister(const lldb_private::RegisterInfo *reg_info,
28  lldb_private::RegisterValue &value) override;
29 
30  bool WriteRegister(const lldb_private::RegisterInfo *reg_info,
31  const lldb_private::RegisterValue &value) override;
32 
33  bool ReadAllRegisterValues(lldb::DataBufferSP &data_sp) override;
34 
35  bool WriteAllRegisterValues(const lldb::DataBufferSP &data_sp) override;
36 
37  bool HardwareSingleStep(bool enable) override;
38 
39 protected:
40  bool ReadGPR() override;
41 
42  bool ReadFPR() override;
43 
44  bool WriteGPR() override;
45 
46  bool WriteFPR() override;
47 
48 private:
49  lldb::DataBufferSP m_gpr_buffer;
50  lldb::DataBufferSP m_fpr_buffer;
53 };
54 
55 #endif // LLDB_SOURCE_PLUGINS_PROCESS_ELF_CORE_REGISTERCONTEXTPOSIXCORE_MIPS64_H
RegisterContextPOSIX_mips64.h
RegisterContextCorePOSIX_mips64::m_fpr
lldb_private::DataExtractor m_fpr
Definition: RegisterContextPOSIXCore_mips64.h:52
lldb_private::RegisterValue
Definition: RegisterValue.h:28
RegisterContextPOSIX_mips64
Definition: RegisterContextPOSIX_mips64.h:17
lldb_private::RegisterInfoInterface
Definition: RegisterInfoInterface.h:21
RegisterUtilities.h
RegisterContextCorePOSIX_mips64::HardwareSingleStep
bool HardwareSingleStep(bool enable) override
Definition: RegisterContextPOSIXCore_mips64.cpp:89
RegisterContextCorePOSIX_mips64::m_fpr_buffer
lldb::DataBufferSP m_fpr_buffer
Definition: RegisterContextPOSIXCore_mips64.h:50
RegisterContextCorePOSIX_mips64::ReadAllRegisterValues
bool ReadAllRegisterValues(lldb::DataBufferSP &data_sp) override
Definition: RegisterContextPOSIXCore_mips64.cpp:74
RegisterContextCorePOSIX_mips64::ReadRegister
bool ReadRegister(const lldb_private::RegisterInfo *reg_info, lldb_private::RegisterValue &value) override
Definition: RegisterContextPOSIXCore_mips64.cpp:51
lldb_private::DataExtractor
Definition: DataExtractor.h:48
lldb_private::Thread
Definition: Thread.h:60
RegisterContextCorePOSIX_mips64::ReadGPR
bool ReadGPR() override
Definition: RegisterContextPOSIXCore_mips64.cpp:37
RegisterContextCorePOSIX_mips64::m_gpr
lldb_private::DataExtractor m_gpr
Definition: RegisterContextPOSIXCore_mips64.h:51
RegisterContextCorePOSIX_mips64::WriteRegister
bool WriteRegister(const lldb_private::RegisterInfo *reg_info, const lldb_private::RegisterValue &value) override
Definition: RegisterContextPOSIXCore_mips64.cpp:79
RegisterContextCorePOSIX_mips64::m_gpr_buffer
lldb::DataBufferSP m_gpr_buffer
Definition: RegisterContextPOSIXCore_mips64.h:49
RegisterContextCorePOSIX_mips64::RegisterContextCorePOSIX_mips64
RegisterContextCorePOSIX_mips64(lldb_private::Thread &thread, lldb_private::RegisterInfoInterface *register_info, const lldb_private::DataExtractor &gpregset, llvm::ArrayRef< lldb_private::CoreNote > notes)
Definition: RegisterContextPOSIXCore_mips64.cpp:18
RegisterContextCorePOSIX_mips64::WriteAllRegisterValues
bool WriteAllRegisterValues(const lldb::DataBufferSP &data_sp) override
Definition: RegisterContextPOSIXCore_mips64.cpp:84
RegisterContextCorePOSIX_mips64::~RegisterContextCorePOSIX_mips64
~RegisterContextCorePOSIX_mips64() override
RegisterContextCorePOSIX_mips64
Definition: RegisterContextPOSIXCore_mips64.h:17
DataExtractor.h
RegisterContextCorePOSIX_mips64::ReadFPR
bool ReadFPR() override
Definition: RegisterContextPOSIXCore_mips64.cpp:39
RegisterContextCorePOSIX_mips64::WriteGPR
bool WriteGPR() override
Definition: RegisterContextPOSIXCore_mips64.cpp:41
DataBufferHeap.h
RegisterContextCorePOSIX_mips64::WriteFPR
bool WriteFPR() override
Definition: RegisterContextPOSIXCore_mips64.cpp:46