154552Sroberto//===-- RegisterContextMach_x86_64.h ------------------------------*- C++ -*-===// 254552Sroberto// 3132458Sroberto// The LLVM Compiler Infrastructure 4285612Sdelphij// 5285612Sdelphij// This file is distributed under the University of Illinois Open Source 6285612Sdelphij// License. See LICENSE.TXT for details. 7285612Sdelphij// 854552Sroberto//===----------------------------------------------------------------------===// 980029Sobrien 10136910Sru#ifndef liblldb_RegisterContextMach_x86_64_h_ 1180029Sobrien#define liblldb_RegisterContextMach_x86_64_h_ 12285612Sdelphij 13285612Sdelphij// C Includes 14285612Sdelphij// C++ Includes 15285612Sdelphij// Other libraries and framework includes 16285612Sdelphij// Project includes 17285612Sdelphij#include "RegisterContextDarwin_x86_64.h" 18285612Sdelphij 19294569Sdelphijclass RegisterContextMach_x86_64 : public RegisterContextDarwin_x86_64 20309008Sdelphij{ 21309008Sdelphijpublic: 22309008Sdelphij 23285612Sdelphij RegisterContextMach_x86_64(lldb_private::Thread &thread, uint32_t concrete_frame_idx); 24285612Sdelphij 25285612Sdelphij virtual 26132458Sroberto ~RegisterContextMach_x86_64(); 27285612Sdelphij 28285612Sdelphijprotected: 29285612Sdelphij 30285612Sdelphij virtual int 31285612Sdelphij DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr); 32285612Sdelphij 3354552Sroberto int 34285612Sdelphij DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu); 35285612Sdelphij 36285612Sdelphij int 37132458Sroberto DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc); 38285612Sdelphij 39285612Sdelphij int 40285612Sdelphij DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr); 41285612Sdelphij 42285612Sdelphij int 43285612Sdelphij DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu); 44285612Sdelphij 45285612Sdelphij int 46298699Sdelphij DoWriteEXC (lldb::tid_t tid, int flavor, const EXC &exc); 47298699Sdelphij}; 48132458Sroberto 49285612Sdelphij#endif // liblldb_RegisterContextMach_x86_64_h_ 5055307Sroberto