11#include <mach/thread_act.h>
19 Thread &thread, uint32_t concrete_frame_idx)
27 return ::thread_get_state(tid, flavor, (thread_state_t)&
gpr, &count);
33 return ::thread_get_state(tid, flavor, (thread_state_t)&
fpu, &count);
39 return ::thread_get_state(tid, flavor, (thread_state_t)&
exc, &count);
44 return ::thread_set_state(
45 tid, flavor,
reinterpret_cast<thread_state_t
>(
const_cast<GPR *
>(&
gpr)),
51 return ::thread_set_state(
52 tid, flavor,
reinterpret_cast<thread_state_t
>(
const_cast<FPU *
>(&
fpu)),
58 return ::thread_set_state(
59 tid, flavor,
reinterpret_cast<thread_state_t
>(
const_cast<EXC *
>(&
exc)),
int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) override
RegisterContextMach_x86_64(lldb_private::Thread &thread, uint32_t concrete_frame_idx)
int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) override
int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) override
int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) override
int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) override
~RegisterContextMach_x86_64() override
int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) override
A class that represents a running process on the host machine.