LLDB mainline
NativeRegisterContextAIX.cpp
Go to the documentation of this file.
1//===---- NativeRegisterContextAIX.cpp ------------------------------------===//
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
11
12using namespace lldb_private;
13using namespace lldb_private::process_aix;
14
18
20 RegisterValue &reg_value) {
21 return Status("unimplemented");
22}
23
26 const RegisterValue &reg_value) {
27 return Status("unimplemented");
28}
29
32 PTT_READ_GPRS, m_thread.GetID(), nullptr, GetGPRBuffer(), GetGPRSize());
33
34 if (!result)
35 return Status::FromError(result.takeError());
36
37 return Status();
38}
39
42 PTT_WRITE_GPRS, m_thread.GetID(), nullptr, GetGPRBuffer(), GetGPRSize());
43
44 if (!result)
45 return Status::FromError(result.takeError());
46
47 return Status();
48}
49
50Status NativeRegisterContextAIX::ReadFPR() { return Status("unimplemented"); }
51
52Status NativeRegisterContextAIX::WriteFPR() { return Status("unimplemented"); }
53
54Status NativeRegisterContextAIX::ReadVMX() { return Status("unimplemented"); }
55
56Status NativeRegisterContextAIX::WriteVMX() { return Status("unimplemented"); }
57
58Status NativeRegisterContextAIX::ReadVSX() { return Status("unimplemented"); }
59
60Status NativeRegisterContextAIX::WriteVSX() { return Status("unimplemented"); }
61
63 unsigned int regset) {
64 return Status("unimplemented");
65}
66
68 unsigned int regset) {
69 return Status("unimplemented");
70}
An error handling class.
Definition Status.h:118
static Status FromError(llvm::Error error)
Avoid using this in new code. Migrate APIs to llvm::Expected instead.
Definition Status.cpp:136
static llvm::Expected< int > PtraceWrapper(int req, lldb::pid_t pid, void *addr=nullptr, void *data=nullptr, size_t data_size=0)
virtual Status ReadRegisterRaw(uint32_t reg_index, RegisterValue &reg_value)
virtual Status WriteRegisterSet(void *buf, size_t buf_size, unsigned int regset)
virtual Status WriteRegisterRaw(uint32_t reg_index, const RegisterValue &reg_value)
virtual Status ReadRegisterSet(void *buf, size_t buf_size, unsigned int regset)
A class that represents a running process on the host machine.
ByteOrder
Byte ordering definitions.