Lines Matching defs:proc
44 /* Converts a GDB pid to a struct proc. */
45 struct proc *inf_tid_to_thread (struct inf *inf, int tid);
47 typedef void (inf_threads_ftype) (struct proc *thread, void *arg);
55 /* A proc is either a thread, or the task (there can only be one task proc
57 struct proc
88 struct proc *next;
94 #define proc_is_task(proc) ((proc)->tid == PROC_TID_TASK)
95 #define proc_is_thread(proc) ((proc)->tid != PROC_TID_TASK)
97 extern int __proc_pid (struct proc *proc);
99 /* Return printable description of proc. */
100 extern char *proc_string (struct proc *proc);
103 do { struct proc *__proc = (_proc); \
104 debug ("{proc %d/%d %s}: " msg, \
149 void steal_exc_port (struct proc *proc, mach_port_t name);
155 thread_state_t proc_get_state (struct proc *proc, int will_modify);
168 struct proc *run_thread,
172 void inf_set_step_thread (struct inf *inf, struct proc *proc);
178 struct proc *make_proc (struct inf *inf, mach_port_t port, int tid);
179 void proc_abort (struct proc *proc, int force);
180 struct proc *_proc_free (struct proc *proc);
181 int proc_update_sc (struct proc *proc);
182 kern_return_t proc_get_exception_port (struct proc *proc, mach_port_t * port);
183 kern_return_t proc_set_exception_port (struct proc *proc, mach_port_t port);
184 mach_port_t _proc_get_exc_port (struct proc *proc);
185 void proc_steal_exc_port (struct proc *proc, mach_port_t exc_port);
186 void proc_restore_exc_port (struct proc *proc);
187 int proc_trace (struct proc *proc, int set);