77 #define PROC_TID_TASK (-1)
79 #define proc_is_task(proc) ((proc)->tid == PROC_TID_TASK)
80 #define proc_is_thread(proc) ((proc)->tid != PROC_TID_TASK)
93 #define proc_debug(_proc, msg, args...) \
94 do { struct proc *__proc = (_proc); \
95 debug ("{proc %d/%d %s}: " msg, \
96 __proc_pid (__proc), __proc->tid, \
97 host_address_to_string (__proc) , ##args); } while (0)
101 #define debug(msg, args...) \
102 do { if (gnu_debug_flag) \
103 fprintf_unfiltered (gdb_stdlog, "%s:%d: " msg "\r\n", \
104 __FILE__ , __LINE__ , ##args); } while (0)
int inf_update_procs(struct inf *inf)
unsigned long fetched_regs
void( inf_threads_ftype)(struct proc *thread, void *arg)
thread_state_t proc_get_state(struct proc *proc, int will_modify)
struct proc * inf_tid_to_thread(struct inf *inf, int tid)
thread_state_data_t state
int __proc_pid(struct proc *proc)
mach_port_t saved_exc_port
struct inf * gnu_current_inf
struct target_ops * gnu_target(void)
char * proc_string(struct proc *proc)
void inf_threads(struct inf *inf, inf_threads_ftype *f, void *arg)