LLDB  mainline
RegisterContextKDP_arm64.h
Go to the documentation of this file.
1 //===-- RegisterContextKDP_arm64.h --------------------------------*- C++
2 //-*-===//
3 //
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef LLDB_SOURCE_PLUGINS_PROCESS_MACOSX_KERNEL_REGISTERCONTEXTKDP_ARM64_H
11 #define LLDB_SOURCE_PLUGINS_PROCESS_MACOSX_KERNEL_REGISTERCONTEXTKDP_ARM64_H
12 
14 
15 class ThreadKDP;
16 
18 public:
19  RegisterContextKDP_arm64(ThreadKDP &thread, uint32_t concrete_frame_idx);
20 
21  virtual ~RegisterContextKDP_arm64();
22 
23 protected:
24  int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) override;
25 
26  int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) override;
27 
28  int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) override;
29 
30  int DoReadDBG(lldb::tid_t tid, int flavor, DBG &dbg) override;
31 
32  int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) override;
33 
34  int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) override;
35 
36  int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) override;
37 
38  int DoWriteDBG(lldb::tid_t tid, int flavor, const DBG &dbg) override;
39 
41 };
42 
43 #endif // LLDB_SOURCE_PLUGINS_PROCESS_MACOSX_KERNEL_REGISTERCONTEXTKDP_ARM64_H
RegisterContextKDP_arm64::DoWriteDBG
int DoWriteDBG(lldb::tid_t tid, int flavor, const DBG &dbg) override
Definition: RegisterContextKDP_arm64.cpp:132
RegisterContextKDP_arm64::DoReadEXC
int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) override
Definition: RegisterContextKDP_arm64.cpp:54
RegisterContextKDP_arm64::DoReadFPU
int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) override
Definition: RegisterContextKDP_arm64.cpp:39
RegisterContextDarwin_arm64.h
RegisterContextDarwin_arm64
Definition: RegisterContextDarwin_arm64.h:28
RegisterContextDarwin_arm64::gpr
GPR gpr
Definition: RegisterContextDarwin_arm64.h:122
RegisterContextDarwin_arm64::EXC
Definition: RegisterContextDarwin_arm64.h:87
RegisterContextKDP_arm64::DoWriteGPR
int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) override
Definition: RegisterContextKDP_arm64.cpp:84
RegisterContextKDP_arm64::DoReadGPR
int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) override
Definition: RegisterContextKDP_arm64.cpp:24
RegisterContextKDP_arm64::DoWriteFPU
int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) override
Definition: RegisterContextKDP_arm64.cpp:100
RegisterContextKDP_arm64::DoReadDBG
int DoReadDBG(lldb::tid_t tid, int flavor, DBG &dbg) override
Definition: RegisterContextKDP_arm64.cpp:69
RegisterContextKDP_arm64::~RegisterContextKDP_arm64
virtual ~RegisterContextKDP_arm64()
Definition: RegisterContextKDP_arm64.cpp:22
RegisterContextKDP_arm64::DoWriteEXC
int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) override
Definition: RegisterContextKDP_arm64.cpp:116
ThreadKDP
Definition: ThreadKDP.h:19
RegisterContextKDP_arm64
Definition: RegisterContextKDP_arm64.h:17
RegisterContextDarwin_arm64::DBG
Definition: RegisterContextDarwin_arm64.h:94
RegisterContextDarwin_arm64::dbg
DBG dbg
Definition: RegisterContextDarwin_arm64.h:125
uint32_t
RegisterContextDarwin_arm64::GPR
Definition: RegisterContextDarwin_arm64.h:66
RegisterContextKDP_arm64::RegisterContextKDP_arm64
RegisterContextKDP_arm64(ThreadKDP &thread, uint32_t concrete_frame_idx)
Definition: RegisterContextKDP_arm64.cpp:17
RegisterContextDarwin_arm64::FPU
Definition: RegisterContextDarwin_arm64.h:80
RegisterContextDarwin_arm64::exc
EXC exc
Definition: RegisterContextDarwin_arm64.h:124
RegisterContextKDP_arm64::m_kdp_thread
ThreadKDP & m_kdp_thread
Definition: RegisterContextKDP_arm64.h:40
RegisterContextDarwin_arm64::fpu
FPU fpu
Definition: RegisterContextDarwin_arm64.h:123
lldb::tid_t
uint64_t tid_t
Definition: lldb-types.h:86