| /freebsd-12.1/lib/libproc/ |
| H A D | libproc.h | 43 struct proc_handle; 143 int proc_continue(struct proc_handle *); 147 int proc_detach(struct proc_handle *, int); 148 int proc_getflags(struct proc_handle *); 152 int proc_setflags(struct proc_handle *, int); 153 int proc_state(struct proc_handle *); 154 int proc_getmodel(struct proc_handle *); 155 int proc_wstatus(struct proc_handle *); 156 int proc_getwstat(struct proc_handle *); 160 void proc_free(struct proc_handle *); [all …]
|
| H A D | proc_util.c | 49 proc_clearflags(struct proc_handle *phdl, int mask) in proc_clearflags() 64 proc_continue(struct proc_handle *phdl) in proc_continue() 85 proc_detach(struct proc_handle *phdl, int reason) in proc_detach() 115 proc_getflags(struct proc_handle *phdl) in proc_getflags() 125 proc_setflags(struct proc_handle *phdl, int mask) in proc_setflags() 137 proc_state(struct proc_handle *phdl) in proc_state() 147 proc_getmodel(struct proc_handle *phdl) in proc_getmodel() 157 proc_wstatus(struct proc_handle *phdl) in proc_wstatus() 178 proc_getwstat(struct proc_handle *phdl) in proc_getwstat() 197 proc_read(struct proc_handle *phdl, void *buf, size_t size, size_t addr) in proc_read() [all …]
|
| H A D | proc_create.c | 53 static int proc_init(pid_t, int, int, struct proc_handle **); 75 proc_init(pid_t pid, int flags, int status, struct proc_handle **pphdl) in proc_init() 78 struct proc_handle *phdl; in proc_init() 129 proc_attach(pid_t pid, int flags, struct proc_handle **pphdl) in proc_attach() 131 struct proc_handle *phdl; in proc_attach() 182 proc_child_func *pcf, void *child_arg, struct proc_handle **pphdl) in proc_create() 184 struct proc_handle *phdl; in proc_create() 242 proc_free(struct proc_handle *phdl) in proc_free()
|
| H A D | proc_bkpt.c | 82 proc_stop(struct proc_handle *phdl) in proc_stop() 101 proc_bkptset(struct proc_handle *phdl, uintptr_t address, in proc_bkptset() 163 proc_bkptdel(struct proc_handle *phdl, uintptr_t address, in proc_bkptdel() 228 proc_bkptexec(struct proc_handle *phdl, unsigned long saved) in proc_bkptexec()
|
| H A D | proc_sym.c | 375 proc_objname(struct proc_handle *p, uintptr_t addr, char *objname, in proc_objname() 396 proc_iter_objs(struct proc_handle *p, proc_map_f *func, void *cd) in proc_iter_objs() 429 _proc_addr2map(struct proc_handle *p, uintptr_t addr) in _proc_addr2map() 447 proc_addr2map(struct proc_handle *p, uintptr_t addr) in proc_addr2map() 503 proc_addr2sym(struct proc_handle *p, uintptr_t addr, char *name, in proc_addr2sym() 542 _proc_name2map(struct proc_handle *p, const char *name) in _proc_name2map() 575 proc_name2map(struct proc_handle *p, const char *name) in proc_name2map() 609 proc_name2sym(struct proc_handle *p, const char *object, const char *symbol, in proc_name2sym() 642 proc_name2ctf(struct proc_handle *p, const char *name) in proc_name2ctf() 662 proc_iter_symbyaddr(struct proc_handle *p, const char *object, int which, in proc_iter_symbyaddr()
|
| H A D | proc_rtld.c | 50 struct proc_handle *phdl; in map_iter() 113 proc_rdagent(struct proc_handle *phdl) in proc_rdagent() 133 proc_updatesyms(struct proc_handle *phdl) in proc_updatesyms()
|
| H A D | proc_regs.c | 47 proc_regget(struct proc_handle *phdl, proc_reg_t reg, unsigned long *regvalue) in proc_regget() 103 proc_regset(struct proc_handle *phdl, proc_reg_t reg, unsigned long regvalue) in proc_regset()
|
| H A D | _libproc.h | 67 struct proc_handle { struct
|
| /freebsd-12.1/lib/libproc/tests/ |
| H A D | proc_test.c | 50 static struct proc_handle * 54 struct proc_handle *phdl; in start_prog() 167 struct proc_handle *phdl; in ATF_TC_BODY() 198 struct proc_handle *phdl; in ATF_TC_BODY() 230 struct proc_handle *phdl; in ATF_TC_BODY() 269 struct proc_handle *phdl; in ATF_TC_BODY() 308 struct proc_handle *phdl; in ATF_TC_BODY() 344 struct proc_handle *phdl; in ATF_TC_BODY() 386 struct proc_handle *phdl; in ATF_TC_BODY() 418 struct proc_handle *phdl; in ATF_TC_BODY() [all …]
|
| /freebsd-12.1/lib/librtld_db/ |
| H A D | rtld_db.h | 55 struct proc_handle *rda_php; 138 struct proc_handle; 148 rd_agent_t *rd_new(struct proc_handle *);
|
| H A D | rtld_db.c | 213 rd_new(struct proc_handle *php) in rd_new()
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | thread-db.c | 74 static struct ps_prochandle proc_handle; variable 624 gdb_assert (proc_handle.pid == 0); in thread_db_new_objfile() 642 proc_handle.pid = GET_PID (inferior_ptid); in thread_db_new_objfile() 667 gdb_assert (proc_handle.pid == 0); in thread_db_new_objfile() 674 if (proc_handle.pid != 0) in thread_db_new_objfile() 734 proc_handle.pid = GET_PID (inferior_ptid); in thread_db_attach() 759 proc_handle.pid = 0; in thread_db_detach() 885 if (proc_handle.pid == 0) in thread_db_wait() 1029 if (proc_handle.pid == 0) in thread_db_post_startup_inferior() 1033 proc_handle.pid = GET_PID (ptid); in thread_db_post_startup_inferior() [all …]
|
| /freebsd-12.1/gnu/usr.bin/gdb/libgdb/ |
| H A D | fbsd-threads.c | 87 static struct ps_prochandle proc_handle; variable 312 lwp = get_current_lwp (proc_handle.pid); in get_current_thread() 313 tmp = BUILD_LWP (lwp, proc_handle.pid); in get_current_thread() 426 inferior_ptid = pid_to_ptid (proc_handle.pid); in fbsd_thread_deactivate() 427 proc_handle.pid = 0; in fbsd_thread_deactivate() 484 gdb_assert (proc_handle.pid == 0); in fbsd_thread_new_objfile() 502 proc_handle.pid = GET_PID (inferior_ptid); in fbsd_thread_new_objfile() 563 proc_handle.pid = GET_PID (inferior_ptid); in fbsd_thread_post_attach() 580 proc_handle.pid = 0; in fbsd_thread_detach() 1072 proc_handle.pid = GET_PID (ptid); in fbsd_thread_post_startup_inferior() [all …]
|
| /freebsd-12.1/contrib/gdb/gdb/gdbserver/ |
| H A D | thread-db.c | 50 static struct ps_prochandle proc_handle; variable 320 proc_handle.pid = ((struct inferior_list_entry *)current_inferior)->id; in thread_db_init() 322 err = td_ta_new (&proc_handle, &thread_agent); in thread_db_init()
|
| /freebsd-12.1/cddl/compat/opensolaris/include/ |
| H A D | dtrace.h | 33 #define ps_prochandle proc_handle
|
| H A D | libproc.h | 35 #define ps_prochandle proc_handle
|