LLDB mainline
RegisterContextPOSIXCore_powerpc.h
Go to the documentation of this file.
1//===-- RegisterContextPOSIXCore_powerpc.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_POWERPC_H
10#define LLDB_SOURCE_PLUGINS_PROCESS_ELF_CORE_REGISTERCONTEXTPOSIXCORE_POWERPC_H
11
15
17public:
21 const lldb_private::DataExtractor &gpregset,
22 llvm::ArrayRef<lldb_private::CoreNote> notes);
23
25
26 bool ReadRegister(const lldb_private::RegisterInfo *reg_info,
27 lldb_private::RegisterValue &value) override;
28
29 bool WriteRegister(const lldb_private::RegisterInfo *reg_info,
30 const lldb_private::RegisterValue &value) override;
31
33
34 bool WriteAllRegisterValues(const lldb::DataBufferSP &data_sp) override;
35
36 bool HardwareSingleStep(bool enable) override;
37
38protected:
39 bool ReadGPR() override;
40
41 bool ReadFPR() override;
42
43 bool ReadVMX() override;
44
45 bool WriteGPR() override;
46
47 bool WriteFPR() override;
48
49 bool WriteVMX() override;
50
51private:
58};
59
60#endif // LLDB_SOURCE_PLUGINS_PROCESS_ELF_CORE_REGISTERCONTEXTPOSIXCORE_POWERPC_H
bool ReadRegister(const lldb_private::RegisterInfo *reg_info, lldb_private::RegisterValue &value) override
bool ReadAllRegisterValues(lldb::WritableDataBufferSP &data_sp) override
bool WriteRegister(const lldb_private::RegisterInfo *reg_info, const lldb_private::RegisterValue &value) override
bool WriteAllRegisterValues(const lldb::DataBufferSP &data_sp) override
An data extractor class.
Definition: DataExtractor.h:48
RegisterInfo interface to patch RegisterInfo structure for archs.
std::shared_ptr< lldb_private::DataBuffer > DataBufferSP
Definition: lldb-forward.h:328
std::shared_ptr< lldb_private::WritableDataBuffer > WritableDataBufferSP
Definition: lldb-forward.h:329
Every register is described in detail including its name, alternate name (optional),...