1//===-- RegisterContextMach_i386.h ------------------------------*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// 9 10#ifndef liblldb_RegisterContextMach_i386_h_ 11#define liblldb_RegisterContextMach_i386_h_ 12 13// C Includes 14// C++ Includes 15// Other libraries and framework includes 16// Project includes 17#include "RegisterContextDarwin_i386.h" 18 19class RegisterContextMach_i386 : public RegisterContextDarwin_i386 20{ 21public: 22 23 RegisterContextMach_i386(lldb_private::Thread &thread, uint32_t concrete_frame_idx); 24 25 virtual 26 ~RegisterContextMach_i386(); 27 28protected: 29 30 virtual int 31 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr); 32 33 int 34 DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu); 35 36 int 37 DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc); 38 39 int 40 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr); 41 42 int 43 DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu); 44 45 int 46 DoWriteEXC (lldb::tid_t tid, int flavor, const EXC &exc); 47}; 48 49#endif // liblldb_RegisterContextMach_i386_h_ 50