LLDB mainline
RegisterContextPOSIXCore_arm.h
Go to the documentation of this file.
1//===-- RegisterContextPOSIXCore_arm.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_ARM_H
10#define LLDB_SOURCE_PLUGINS_PROCESS_ELF_CORE_REGISTERCONTEXTPOSIXCORE_ARM_H
11
16
18public:
21 std::unique_ptr<RegisterInfoPOSIX_arm> register_info,
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
34
35 bool WriteAllRegisterValues(const lldb::DataBufferSP &data_sp) override;
36
37 bool HardwareSingleStep(bool enable) override;
38
39protected:
40 bool ReadGPR() override;
41
42 bool ReadFPR() override;
43
44 bool WriteGPR() override;
45
46 bool WriteFPR() override;
47
48private:
51};
52
53#endif // LLDB_SOURCE_PLUGINS_PROCESS_ELF_CORE_REGISTERCONTEXTPOSIXCORE_ARM_H
bool HardwareSingleStep(bool enable) override
bool WriteRegister(const lldb_private::RegisterInfo *reg_info, const lldb_private::RegisterValue &value) override
bool ReadAllRegisterValues(lldb::WritableDataBufferSP &data_sp) override
bool ReadRegister(const lldb_private::RegisterInfo *reg_info, lldb_private::RegisterValue &value) override
~RegisterContextCorePOSIX_arm() override
bool WriteAllRegisterValues(const lldb::DataBufferSP &data_sp) override
An data extractor class.
Definition: DataExtractor.h:48
std::shared_ptr< lldb_private::DataBuffer > DataBufferSP
Definition: lldb-forward.h:332
std::shared_ptr< lldb_private::WritableDataBuffer > WritableDataBufferSP
Definition: lldb-forward.h:333
Every register is described in detail including its name, alternate name (optional),...