Home
last modified time | relevance | path

Searched refs:proc_handle (Results 1 – 21 of 21) sorted by relevance

/netbsd-src/external/bsd/libproc/dist/
H A Dlibproc.h42 struct proc_handle;
134 prmap_t *proc_addr2map(struct proc_handle *, uintptr_t);
135 prmap_t *proc_name2map(struct proc_handle *, const char *);
136 char *proc_objname(struct proc_handle *, uintptr_t, char *, size_t);
137 prmap_t *proc_obj2map(struct proc_handle *, const char *);
138 int proc_iter_objs(struct proc_handle *, proc_map_f *, void *);
139 int proc_iter_symbyaddr(struct proc_handle *, const char *, int,
141 int proc_addr2sym(struct proc_handle *, uintptr_t, char *, size_t, GElf_Sym *);
142 int proc_attach(pid_t pid, int flags, struct proc_handle **pphdl);
143 int proc_continue(struct proc_handle *);
[all …]
H A Dproc_util.c45 proc_clearflags(struct proc_handle *phdl, int mask) in proc_clearflags()
60 proc_continue(struct proc_handle *phdl) in proc_continue()
78 proc_detach(struct proc_handle *phdl, int reason) in proc_detach()
116 proc_getflags(struct proc_handle *phdl) in proc_getflags()
126 proc_setflags(struct proc_handle *phdl, int mask) in proc_setflags()
138 proc_state(struct proc_handle *phdl) in proc_state()
148 proc_getmodel(struct proc_handle *phdl) in proc_getmodel()
158 proc_getpid(struct proc_handle *phdl) in proc_getpid()
168 proc_wstatus(struct proc_handle *phdl) in proc_wstatus()
189 proc_getwstat(struct proc_handle *phdl) in proc_getwstat()
[all …]
H A Dproc_create.c45 static int proc_init(pid_t, int, int, struct proc_handle *);
48 proc_init(pid_t pid, int flags, int status, struct proc_handle *phdl) in proc_init()
94 proc_attach(pid_t pid, int flags, struct proc_handle **pphdl) in proc_attach()
96 struct proc_handle *phdl; in proc_attach()
107 if ((phdl = malloc(sizeof(struct proc_handle))) == NULL) in proc_attach()
145 void *child_arg, struct proc_handle **pphdl) in proc_create()
147 struct proc_handle *phdl; in proc_create()
156 if ((phdl = malloc(sizeof(struct proc_handle))) == NULL) in proc_create()
207 proc_free(struct proc_handle *phdl) in proc_free()
H A Dproc_bkpt.c55 proc_stop(struct proc_handle *phdl) in proc_stop()
74 proc_bkptset(struct proc_handle *phdl, uintptr_t address, in proc_bkptset()
136 proc_bkptdel(struct proc_handle *phdl, uintptr_t address, in proc_bkptdel()
201 proc_bkptexec(struct proc_handle *phdl, proc_breakpoint_t *saved) in proc_bkptexec()
H A Dproc_rtld.c47 struct proc_handle *phdl = arg; in map_iter()
64 proc_rdagent(struct proc_handle *phdl) in proc_rdagent()
81 proc_updatesyms(struct proc_handle *phdl) in proc_updatesyms()
H A Dproc_sym.c138 proc_objname(struct proc_handle *p, uintptr_t addr, char *objname, in proc_objname()
159 proc_obj2map(struct proc_handle *p, const char *objname) in proc_obj2map()
188 proc_iter_objs(struct proc_handle *p, proc_map_f *func, void *cd) in proc_iter_objs()
222 proc_addr2map(struct proc_handle *p, uintptr_t addr) in proc_addr2map()
321 proc_addr2sym(struct proc_handle *p, uintptr_t addr, char *name, in proc_addr2sym()
396 proc_name2map(struct proc_handle *p, const char *name) in proc_name2map()
469 proc_name2sym(struct proc_handle *p, const char *object, const char *symbol, in proc_name2sym()
545 proc_name2ctf(struct proc_handle *p, const char *name) in proc_name2ctf()
566 proc_iter_symbyaddr(struct proc_handle *p, const char *object, int which, in proc_iter_symbyaddr()
H A Dproc_regs.c48 proc_regget(struct proc_handle *phdl, proc_reg_t reg, unsigned long *regvalue) in proc_regget()
84 proc_regset(struct proc_handle *phdl, proc_reg_t reg, unsigned long regvalue) in proc_regset()
H A D_libproc.h38 struct proc_handle { struct
/netbsd-src/external/bsd/libproc/dist/tests/
H A Dproc_test.c73 static struct proc_handle *
77 struct proc_handle *phdl; in start_prog()
102 set_bkpt(struct proc_handle *phdl, uintptr_t addr, proc_breakpoint_t *saved) in set_bkpt()
112 remove_bkpt(struct proc_handle *phdl, uintptr_t addr, proc_breakpoint_t *val) in remove_bkpt()
128 verify_bkpt(struct proc_handle *phdl, GElf_Sym *sym, const char *symname, in verify_bkpt()
189 struct proc_handle *phdl; in ATF_TC_BODY()
221 struct proc_handle *phdl; in ATF_TC_BODY()
255 struct proc_handle *phdl; in ATF_TC_BODY()
294 struct proc_handle *phdl; in ATF_TC_BODY()
333 struct proc_handle *phdl; in ATF_TC_BODY()
[all …]
/netbsd-src/external/bsd/librtld_db/dist/
H A Drtld_db.h53 struct proc_handle *rda_php;
133 struct proc_handle;
143 rd_agent_t *rd_new(struct proc_handle *);
H A Drtld_db.c198 rd_new(struct proc_handle *php) in rd_new()
/netbsd-src/external/cddl/osnet/include/
H A Ddtrace.h35 #define ps_prochandle proc_handle
H A Dlibproc.h37 #define ps_prochandle proc_handle
/netbsd-src/crypto/external/bsd/openssl.old/dist/util/perl/TLSProxy/
H A DProxy.pm278 $self->{proc_handle} = $h; # hold handle till next round [or exit]
/netbsd-src/external/gpl3/gdb/dist/gdb/
H A DChangeLog-20085976 (thread_from_lwp, enable_thread_event): Set proc_handle.pid to the
5979 (thread_db_init): Set proc_handle.pid to inferior_ptid.
5980 (check_event): Set proc_handle.pid to the stopped lwp.
5981 (thread_db_find_new_threads): Set proc_handle.pid to any stopped
H A DChangeLog-20074784 instead of fixing up proc_handle.
4786 (thread_db_wait): Remove dead proc_handle.pid check. Only
H A DChangeLog-20099320 (proc_handle, thread_agent, td_init_p, td_ta_new_p)
11858 using the pid stored in proc_handle.ptid.
/netbsd-src/external/gpl3/gdb.old/dist/gdb/
H A DChangeLog-20085976 (thread_from_lwp, enable_thread_event): Set proc_handle.pid to the
5979 (thread_db_init): Set proc_handle.pid to inferior_ptid.
5980 (check_event): Set proc_handle.pid to the stopped lwp.
5981 (thread_db_find_new_threads): Set proc_handle.pid to any stopped
H A DChangeLog-20074784 instead of fixing up proc_handle.
4786 (thread_db_wait): Remove dead proc_handle.pid check. Only
H A DChangeLog-20099320 (proc_handle, thread_agent, td_init_p, td_ta_new_p)
11858 using the pid stored in proc_handle.ptid.
/netbsd-src/external/gpl3/gdb/dist/gdbserver/
H A DChangeLog-2002-202119898 * thread-db.c (proc_handle, thread_agent): Delete.