1 //===-- RegisterContextKDP_x86_64.h -----------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_RegisterContextKDP_x86_64_h_
11 #define liblldb_RegisterContextKDP_x86_64_h_
15 // Other libraries and framework includes
17 #include "Plugins/Process/Utility/RegisterContextDarwin_x86_64.h"
21 class RegisterContextKDP_x86_64 : public RegisterContextDarwin_x86_64
25 RegisterContextKDP_x86_64 (ThreadKDP &thread,
26 uint32_t concrete_frame_idx);
29 ~RegisterContextKDP_x86_64();
34 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr);
37 DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu);
40 DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc);
43 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
46 DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu);
49 DoWriteEXC (lldb::tid_t tid, int flavor, const EXC &exc);
51 ThreadKDP &m_kdp_thread;
54 #endif // liblldb_RegisterContextKDP_x86_64_h_