1 //===-- RegisterContextMach_x86_64.h ------------------------------*- C++
4 // The LLVM Compiler Infrastructure
6 // This file is distributed under the University of Illinois Open Source
7 // License. See LICENSE.TXT for details.
9 //===----------------------------------------------------------------------===//
11 #ifndef liblldb_RegisterContextMach_x86_64_h_
12 #define liblldb_RegisterContextMach_x86_64_h_
16 // Other libraries and framework includes
18 #include "RegisterContextDarwin_x86_64.h"
20 class RegisterContextMach_x86_64 : public RegisterContextDarwin_x86_64 {
22 RegisterContextMach_x86_64(lldb_private::Thread &thread,
23 uint32_t concrete_frame_idx);
25 virtual ~RegisterContextMach_x86_64();
28 virtual int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr);
30 int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu);
32 int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc);
34 int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr);
36 int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu);
38 int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc);
41 #endif // liblldb_RegisterContextMach_x86_64_h_