17 #ifndef __DARWIN_NAT_H__ 18 #define __DARWIN_NAT_H__ 20 #include <mach/mach.h> 30 exception_mask_t
masks[EXC_TYPES_COUNT] {};
33 mach_port_t
ports[EXC_TYPES_COUNT] {};
39 thread_state_flavor_t
flavors[EXC_TYPES_COUNT] {};
42 mach_msg_type_number_t
count = 0;
149 #define MACH_CHECK_ERROR(ret) \ 150 mach_check_error (ret, __FILE__, __LINE__, FUNCTION_NAME) 152 #define MACH_CHECK_ERROR(ret) \ 153 mach_check_error (ret, __FILE__, __LINE__, "??") 157 unsigned int line,
const char *
func);
thread_state_flavor_t flavors[EXC_TYPES_COUNT]
struct darwin_exception_msg event
unsigned int pending_messages
void darwin_set_sstep(thread_t thread, int enable)
void mach_check_error(kern_return_t ret, const char *file, unsigned int line, const char *func)
enum darwin_msg_state msg_state
exception_mask_t masks[EXC_TYPES_COUNT]
exception_behavior_t behaviors[EXC_TYPES_COUNT]
mach_port_t ports[EXC_TYPES_COUNT]
darwin_exception_info exception_info
mach_port_t darwin_port_set
mach_msg_type_number_t data_count
std::vector< darwin_thread_t * > threads
static darwin_inferior * get_darwin_inferior(inferior *inf)
unsigned char single_step
static darwin_thread_info * get_darwin_thread_info(class thread_info *thread)
std::unique_ptr< private_thread_info > priv
mach_port_t darwin_host_self
void darwin_check_osabi(darwin_inferior *inf, thread_t thread)
mach_msg_type_number_t count
void darwin_complete_target(struct target_ops *target)
mach_port_t darwin_ex_port