LLDB mainline
RegisterContextPOSIXCore_s390x.h
Go to the documentation of this file.
1//===-- RegisterContextPOSIXCore_s390x.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_S390X_H
10#define LLDB_SOURCE_PLUGINS_PROCESS_ELF_CORE_REGISTERCONTEXTPOSIXCORE_S390X_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 WriteGPR() override;
44
45 bool WriteFPR() override;
46
47private:
50
53};
54
55#endif // LLDB_SOURCE_PLUGINS_PROCESS_ELF_CORE_REGISTERCONTEXTPOSIXCORE_S390X_H
bool WriteAllRegisterValues(const lldb::DataBufferSP &data_sp) override
bool ReadAllRegisterValues(lldb::WritableDataBufferSP &data_sp) 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
~RegisterContextCorePOSIX_s390x() 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:334
std::shared_ptr< lldb_private::WritableDataBuffer > WritableDataBufferSP
Definition: lldb-forward.h:335
Every register is described in detail including its name, alternate name (optional),...