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 {
21 RegisterContextMach_i386(lldb_private::Thread &thread,
22 uint32_t concrete_frame_idx);
24 virtual ~RegisterContextMach_i386();
27 virtual int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr);
29 int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu);
31 int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc);
33 int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr);
35 int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu);
37 int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc);
40 #endif // liblldb_RegisterContextMach_i386_h_