11#include <mach/thread_act.h>
19 uint32_t concrete_frame_idx)
26 return ::thread_get_state(tid, flavor, (thread_state_t)&
gpr, &count);
31 return ::thread_get_state(tid, flavor, (thread_state_t)&
fpu, &count);
36 return ::thread_get_state(tid, flavor, (thread_state_t)&
exc, &count);
41 return ::thread_set_state(
42 tid, flavor,
reinterpret_cast<thread_state_t
>(
const_cast<GPR *
>(&
gpr)),
48 return ::thread_set_state(
49 tid, flavor,
reinterpret_cast<thread_state_t
>(
const_cast<FPU *
>(&
fpu)),
55 return ::thread_set_state(
56 tid, flavor,
reinterpret_cast<thread_state_t
>(
const_cast<EXC *
>(&
exc)),
~RegisterContextMach_i386() override
int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) override
int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) override
RegisterContextMach_i386(lldb_private::Thread &thread, uint32_t concrete_frame_idx)
int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) override
int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) override
int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) override
int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) override
A class that represents a running process on the host machine.