1 //===-- RegisterContextMach_arm.h -------------------------------*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #ifndef liblldb_RegisterContextMach_arm_h_ 11 #define liblldb_RegisterContextMach_arm_h_ 12 13 // C Includes 14 15 // C++ Includes 16 // Other libraries and framework includes 17 // Project includes 18 #include "RegisterContextDarwin_arm.h" 19 20 class RegisterContextMach_arm : public RegisterContextDarwin_arm 21 { 22 public: 23 24 RegisterContextMach_arm(lldb_private::Thread &thread, uint32_t concrete_frame_idx); 25 26 virtual 27 ~RegisterContextMach_arm(); 28 29 protected: 30 31 virtual int 32 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr); 33 34 int 35 DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu); 36 37 int 38 DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc); 39 40 int 41 DoReadDBG (lldb::tid_t tid, int flavor, DBG &dbg); 42 43 int 44 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr); 45 46 int 47 DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu); 48 49 int 50 DoWriteEXC (lldb::tid_t tid, int flavor, const EXC &exc); 51 52 int 53 DoWriteDBG (lldb::tid_t tid, int flavor, const DBG &dbg); 54 }; 55 56 #endif // liblldb_RegisterContextMach_arm_h_ 57