#include "defs.h"
#include <mach.h>
#include <unistd.h>
#include "inf-child.h"
Go to the source code of this file.
◆ debug
#define debug |
( |
|
msg, |
|
|
|
args... |
|
) |
| |
Value:
__FILE__ , __LINE__ , ##args); } while (0)
Definition at line 110 of file gnu-nat.h.
◆ proc_debug
#define proc_debug |
( |
|
_proc, |
|
|
|
msg, |
|
|
|
args... |
|
) |
| |
Value: do {
struct proc *__proc = (_proc); \
debug ("{proc %d/%d %s}: " msg, \
host_address_to_string (__proc) , ##args); } while (0)
int __proc_pid(struct proc *proc)
Definition at line 102 of file gnu-nat.h.
◆ proc_is_task
◆ proc_is_thread
◆ PROC_TID_TASK
#define PROC_TID_TASK (-1) |
◆ thread_info
◆ inf_threads_ftype
typedef void() inf_threads_ftype(struct proc *thread, void *arg) |
◆ __proc_pid()
int __proc_pid |
( |
struct proc * |
proc | ) |
|
◆ __typeof__()
__typeof__ |
( |
mach_thread_info |
| ) |
|
◆ inf_threads()
◆ inf_tid_to_thread()
struct proc * inf_tid_to_thread |
( |
struct inf * |
inf, |
|
|
int |
tid |
|
) |
| |
◆ inf_update_procs()
int inf_update_procs |
( |
struct inf * |
inf | ) |
|
Definition at line 1102 of file gnu-nat.c.
References gnu_target, gnu_nat_target::inf_validate_procs(), inf::task, and inf::threads_up_to_date.
Referenced by gnu_nat_target::attach(), i386_gnu_nat_target::fetch_registers(), gnu_nat_target::inf_resume(), gnu_nat_target::inf_set_threads_resume_sc(), gnu_nat_target::inf_suspend(), gnu_nat_target::resume(), S_exception_raise_request(), i386_gnu_nat_target::store_registers(), gnu_nat_target::thread_alive(), and gnu_nat_target::wait().
◆ proc_string()
char * proc_string |
( |
struct proc * |
proc | ) |
|
Definition at line 2650 of file gnu-nat.c.
References proc::inf, inf::pid, proc_is_task, and proc::tid.
Referenced by fetch_fpregs(), i386_gnu_nat_target::fetch_registers(), gnu_nat_target::pid_to_str(), gnu_nat_target::proc_abort(), gnu_nat_target::proc_restore_exc_port(), gnu_nat_target::proc_steal_exc_port(), gnu_nat_target::resume(), show_sig_thread_cmd(), show_thread_detach_sc_cmd(), show_thread_pause_cmd(), show_thread_run_cmd(), gnu_nat_target::steal_exc_port(), store_fpregs(), and i386_gnu_nat_target::store_registers().
◆ gnu_current_inf
struct inf* gnu_current_inf |
|
extern |
Definition at line 1430 of file gnu-nat.c.
Referenced by cur_inf(), gnu_nat_target::detach(), i386_gnu_nat_target::fetch_registers(), gnu_nat_target::find_memory_regions(), gnu_xfer_auxv(), gnu_xfer_memory(), inf_pick_first_thread(), gnu_nat_target::kill(), gnu_nat_target::mourn_inferior(), gnu_nat_target::pid_to_str(), gnu_nat_target::resume(), i386_gnu_nat_target::store_registers(), gnu_nat_target::thread_alive(), and gnu_nat_target::wait().
◆ gnu_debug_flag
◆ gnu_target