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_
14 #include "RegisterContextDarwin_x86_64.h"
16 class RegisterContextMach_x86_64 : public RegisterContextDarwin_x86_64 {
18 RegisterContextMach_x86_64(lldb_private::Thread &thread,
19 uint32_t concrete_frame_idx);
21 virtual ~RegisterContextMach_x86_64();
24 virtual int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr);
26 int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu);
28 int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc);
30 int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr);
32 int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu);
34 int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc);
37 #endif // liblldb_RegisterContextMach_x86_64_h_