LLDB  mainline
RegisterContextKDP_arm.h
Go to the documentation of this file.
1 //===-- RegisterContextKDP_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_MACOSX_KERNEL_REGISTERCONTEXTKDP_ARM_H
10 #define LLDB_SOURCE_PLUGINS_PROCESS_MACOSX_KERNEL_REGISTERCONTEXTKDP_ARM_H
11 
13 
14 class ThreadKDP;
15 
17 public:
18  RegisterContextKDP_arm(ThreadKDP &thread, uint32_t concrete_frame_idx);
19 
20  virtual ~RegisterContextKDP_arm();
21 
22 protected:
23  int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) override;
24 
25  int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) override;
26 
27  int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) override;
28 
29  int DoReadDBG(lldb::tid_t tid, int flavor, DBG &dbg) override;
30 
31  int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) override;
32 
33  int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) override;
34 
35  int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) override;
36 
37  int DoWriteDBG(lldb::tid_t tid, int flavor, const DBG &dbg) override;
38 
40 };
41 
42 #endif // LLDB_SOURCE_PLUGINS_PROCESS_MACOSX_KERNEL_REGISTERCONTEXTKDP_ARM_H
RegisterContextDarwin_arm::dbg
DBG dbg
Definition: RegisterContextDarwin_arm.h:158
RegisterContextKDP_arm::DoWriteGPR
int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) override
Definition: RegisterContextKDP_arm.cpp:84
RegisterContextDarwin_arm::EXC
Definition: RegisterContextDarwin_arm.h:122
RegisterContextDarwin_arm::exc
EXC exc
Definition: RegisterContextDarwin_arm.h:157
RegisterContextKDP_arm::DoWriteDBG
int DoWriteDBG(lldb::tid_t tid, int flavor, const DBG &dbg) override
Definition: RegisterContextKDP_arm.cpp:132
RegisterContextKDP_arm::DoReadFPU
int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) override
Definition: RegisterContextKDP_arm.cpp:39
RegisterContextKDP_arm::DoReadGPR
int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) override
Definition: RegisterContextKDP_arm.cpp:24
RegisterContextDarwin_arm.h
RegisterContextDarwin_arm::fpu
FPU fpu
Definition: RegisterContextDarwin_arm.h:156
RegisterContextDarwin_arm::DBG
Definition: RegisterContextDarwin_arm.h:128
RegisterContextKDP_arm::DoWriteEXC
int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) override
Definition: RegisterContextKDP_arm.cpp:116
RegisterContextKDP_arm::~RegisterContextKDP_arm
virtual ~RegisterContextKDP_arm()
RegisterContextKDP_arm
Definition: RegisterContextKDP_arm.h:16
ThreadKDP
Definition: ThreadKDP.h:19
RegisterContextDarwin_arm::GPR
Definition: RegisterContextDarwin_arm.h:89
uint32_t
RegisterContextKDP_arm::m_kdp_thread
ThreadKDP & m_kdp_thread
Definition: RegisterContextKDP_arm.h:39
RegisterContextKDP_arm::DoReadEXC
int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) override
Definition: RegisterContextKDP_arm.cpp:54
RegisterContextDarwin_arm::FPU
Definition: RegisterContextDarwin_arm.h:98
RegisterContextKDP_arm::DoWriteFPU
int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) override
Definition: RegisterContextKDP_arm.cpp:100
RegisterContextKDP_arm::RegisterContextKDP_arm
RegisterContextKDP_arm(ThreadKDP &thread, uint32_t concrete_frame_idx)
Definition: RegisterContextKDP_arm.cpp:17
RegisterContextKDP_arm::DoReadDBG
int DoReadDBG(lldb::tid_t tid, int flavor, DBG &dbg) override
Definition: RegisterContextKDP_arm.cpp:69
RegisterContextDarwin_arm::gpr
GPR gpr
Definition: RegisterContextDarwin_arm.h:155
RegisterContextDarwin_arm
Definition: RegisterContextDarwin_arm.h:46
lldb::tid_t
uint64_t tid_t
Definition: lldb-types.h:86