13#include <mach/mach_types.h>
14#include <mach/thread_act.h>
21 uint32_t concrete_frame_idx)
28 return ::thread_get_state(tid, flavor, (thread_state_t)&
gpr, &count);
33 return ::thread_get_state(tid, flavor, (thread_state_t)&
fpu, &count);
38 return ::thread_get_state(tid, flavor, (thread_state_t)&
exc, &count);
43 return ::thread_get_state(tid, flavor, (thread_state_t)&
dbg, &count);
48 return ::thread_set_state(
49 tid, flavor,
reinterpret_cast<thread_state_t
>(
const_cast<GPR *
>(&
gpr)),
55 return ::thread_set_state(
56 tid, flavor,
reinterpret_cast<thread_state_t
>(
const_cast<FPU *
>(&
fpu)),
62 return ::thread_set_state(
63 tid, flavor,
reinterpret_cast<thread_state_t
>(
const_cast<EXC *
>(&
exc)),
69 return ::thread_set_state(
70 tid, flavor,
reinterpret_cast<thread_state_t
>(
const_cast<DBG *
>(&
dbg)),
int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) override
RegisterContextMach_arm(lldb_private::Thread &thread, uint32_t concrete_frame_idx)
int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) override
~RegisterContextMach_arm() override
int DoReadDBG(lldb::tid_t tid, int flavor, DBG &dbg) override
int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) override
int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) override
int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) override
int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) override
int DoWriteDBG(lldb::tid_t tid, int flavor, const DBG &dbg) override
A class that represents a running process on the host machine.