Searched refs:proc_handle (Results 1 - 19 of 19) sorted by relevance

/freebsd-10.0-release/lib/libproc/
H A Dlibproc.h40 struct proc_handle;
112 prmap_t *proc_addr2map(struct proc_handle *, uintptr_t);
113 prmap_t *proc_name2map(struct proc_handle *, const char *);
114 char *proc_objname(struct proc_handle *, uintptr_t, char *, size_t);
115 prmap_t *proc_obj2map(struct proc_handle *, const char *);
116 int proc_iter_objs(struct proc_handle *, proc_map_f *, void *);
117 int proc_iter_symbyaddr(struct proc_handle *, const char *, int,
119 int proc_addr2sym(struct proc_handle *, uintptr_t, char *, size_t, GElf_Sym *);
120 int proc_attach(pid_t pid, int flags, struct proc_handle **pphdl);
121 int proc_continue(struct proc_handle *);
[all...]
H A Dproc_create.c41 proc_attach(pid_t pid, int flags, struct proc_handle **pphdl)
43 struct proc_handle *phdl;
54 if ((phdl = malloc(sizeof(struct proc_handle))) == NULL)
57 memset(phdl, 0, sizeof(struct proc_handle));
92 void *child_arg, struct proc_handle **pphdl)
94 struct proc_handle *phdl;
103 if ((phdl = malloc(sizeof(struct proc_handle))) == NULL)
126 memset(phdl, 0, sizeof(struct proc_handle));
154 proc_free(struct proc_handle *phdl)
H A Dproc_util.c45 proc_clearflags(struct proc_handle *phdl, int mask)
60 proc_continue(struct proc_handle *phdl)
75 proc_detach(struct proc_handle *phdl, int reason)
99 proc_getflags(struct proc_handle *phdl)
109 proc_setflags(struct proc_handle *phdl, int mask)
121 proc_state(struct proc_handle *phdl)
131 proc_getpid(struct proc_handle *phdl)
141 proc_wstatus(struct proc_handle *phdl)
162 proc_getwstat(struct proc_handle *phdl)
181 proc_read(struct proc_handle *phd
[all...]
H A Dproc_rtld.c43 struct proc_handle *phdl = arg;
58 proc_rdagent(struct proc_handle *phdl)
75 proc_updatesyms(struct proc_handle *phdl)
H A D_libproc.h38 struct proc_handle { struct
H A Dproc_bkpt.c58 proc_bkptset(struct proc_handle *phdl, uintptr_t address,
105 proc_bkptdel(struct proc_handle *phdl, uintptr_t address,
149 proc_bkptexec(struct proc_handle *phdl, unsigned long saved)
H A Dproc_regs.c43 proc_regget(struct proc_handle *phdl, proc_reg_t reg, unsigned long *regvalue)
87 proc_regset(struct proc_handle *phdl, proc_reg_t reg, unsigned long regvalue)
H A Dproc_sym.c91 proc_objname(struct proc_handle *p, uintptr_t addr, char *objname,
108 proc_obj2map(struct proc_handle *p, const char *objname)
129 proc_iter_objs(struct proc_handle *p, proc_map_f *func, void *cd)
160 proc_addr2map(struct proc_handle *p, uintptr_t addr)
223 proc_addr2sym(struct proc_handle *p, uintptr_t addr, char *name,
358 proc_name2map(struct proc_handle *p, const char *name)
407 proc_name2sym(struct proc_handle *p, const char *object, const char *symbol,
505 proc_iter_symbyaddr(struct proc_handle *p, const char *object, int which,
/freebsd-10.0-release/cddl/compat/opensolaris/include/
H A Ddtrace.h33 #define ps_prochandle proc_handle
H A Dlibproc.h35 #define ps_prochandle proc_handle
/freebsd-10.0-release/lib/libproc/test/t2-name2map/
H A Dt2-name2map.c41 struct proc_handle *phdl;
/freebsd-10.0-release/lib/librtld_db/
H A Drtld_db.h53 struct proc_handle *rda_php;
131 struct proc_handle;
141 rd_agent_t *rd_new(struct proc_handle *);
H A Drtld_db.c174 rd_new(struct proc_handle *php)
/freebsd-10.0-release/lib/libproc/test/t1-bkpt/
H A Dt1-bkpt.c48 struct proc_handle *phdl;
/freebsd-10.0-release/lib/libproc/test/t3-name2sym/
H A Dt3-name2sym.c42 struct proc_handle *phdl;
/freebsd-10.0-release/contrib/gdb/gdb/gdbserver/
H A Dthread-db.c50 static struct ps_prochandle proc_handle; variable in typeref:struct:ps_prochandle
320 proc_handle.pid = ((struct inferior_list_entry *)current_inferior)->id;
322 err = td_ta_new (&proc_handle, &thread_agent);
/freebsd-10.0-release/gnu/usr.bin/gdb/libgdb/
H A Dfbsd-threads.c87 static struct ps_prochandle proc_handle; variable in typeref:struct:ps_prochandle
312 lwp = get_current_lwp (proc_handle.pid);
313 tmp = BUILD_LWP (lwp, proc_handle.pid);
426 inferior_ptid = pid_to_ptid (proc_handle.pid);
427 proc_handle.pid = 0;
484 gdb_assert (proc_handle.pid == 0);
502 proc_handle.pid = GET_PID (inferior_ptid);
505 err = td_ta_new_p (&proc_handle, &thread_agent);
519 if (fbsd_thread_core == 0 && proc_handle.pid != 0)
563 proc_handle
[all...]
/freebsd-10.0-release/contrib/gdb/gdb/
H A Dthread-db.c74 static struct ps_prochandle proc_handle; variable in typeref:struct:ps_prochandle
630 gdb_assert (proc_handle.pid == 0);
648 proc_handle.pid = GET_PID (inferior_ptid);
651 err = td_ta_new_p (&proc_handle, &thread_agent);
673 gdb_assert (proc_handle.pid == 0);
680 if (proc_handle.pid != 0)
740 proc_handle.pid = GET_PID (inferior_ptid);
765 proc_handle.pid = 0;
891 if (proc_handle.pid == 0)
1035 if (proc_handle
[all...]
/freebsd-10.0-release/contrib/subversion/
H A Dwin-tests.py399 self.proc_handle = None
421 self.proc_handle = (
430 if self.proc_handle is not None:
434 win32process.TerminateProcess(self.proc_handle, 0)
459 self.proc_handle = None
687 self.proc_handle = (
697 if self.proc_handle is not None:
701 win32process.TerminateProcess(self.proc_handle, 0)

Completed in 99 milliseconds