|
1 | | -//===-- NativeRegisterContextAIX.h ----------------------------*- C++ -*-===// |
| 1 | +//===---- NativeRegisterContextAIX.h ----------------------------*- C++ -*-===// |
2 | 2 | // |
3 | 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | 4 | // See https://llvm.org/LICENSE.txt for license information. |
5 | 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | 6 | // |
7 | 7 | //===----------------------------------------------------------------------===// |
8 | 8 |
|
9 | | -#ifndef lldb_NativeRegisterContextAIX_h |
10 | | -#define lldb_NativeRegisterContextAIX_h |
| 9 | +#ifndef LLDB_SOURCE_PLUGINS_PROCESS_AIX_NATIVEREGISTERCONTEXTAIX_H |
| 10 | +#define LLDB_SOURCE_PLUGINS_PROCESS_AIX_NATIVEREGISTERCONTEXTAIX_H |
11 | 11 |
|
12 | 12 | #include "Plugins/Process/Utility/NativeRegisterContextRegisterInfo.h" |
13 | 13 |
|
14 | | -namespace lldb_private { |
15 | | -namespace process_aix { |
16 | | - |
17 | | -class NativeThreadAIX; |
| 14 | +namespace lldb_private::process_aix { |
18 | 15 |
|
19 | 16 | class NativeRegisterContextAIX |
20 | 17 | : public virtual NativeRegisterContextRegisterInfo { |
@@ -58,17 +55,8 @@ class NativeRegisterContextAIX |
58 | 55 | virtual void *GetFPRBuffer() = 0; |
59 | 56 |
|
60 | 57 | virtual size_t GetFPRSize() = 0; |
61 | | - |
62 | | - // The Do*** functions are executed on the privileged thread and can perform |
63 | | - // ptrace operations directly. |
64 | | - virtual Status DoReadRegisterValue(uint32_t offset, const char *reg_name, |
65 | | - uint32_t size, RegisterValue &value); |
66 | | - |
67 | | - virtual Status DoWriteRegisterValue(uint32_t offset, const char *reg_name, |
68 | | - const RegisterValue &value); |
69 | 58 | }; |
70 | 59 |
|
71 | | -} // namespace process_aix |
72 | | -} // namespace lldb_private |
| 60 | +} // namespace lldb_private::process_aix |
73 | 61 |
|
74 | | -#endif // #ifndef lldb_NativeRegisterContextAIX_h |
| 62 | +#endif // #ifndef LLDB_SOURCE_PLUGINS_PROCESS_AIX_NATIVEREGISTERCONTEXTAIX_H |
0 commit comments