1 //===-- RegisterContextMach_i386.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_RegisterContextMach_i386_h_
11 #define liblldb_RegisterContextMach_i386_h_
15 // Other libraries and framework includes
17 #include "RegisterContextDarwin_i386.h"
19 class RegisterContextMach_i386 : public RegisterContextDarwin_i386
23 RegisterContextMach_i386(lldb_private::Thread &thread, uint32_t concrete_frame_idx);
26 ~RegisterContextMach_i386();
31 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr);
34 DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu);
37 DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc);
40 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
43 DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu);
46 DoWriteEXC (lldb::tid_t tid, int flavor, const EXC &exc);
49 #endif // liblldb_RegisterContextMach_i386_h_