Searched refs:ptid (Results 1 - 25 of 51) sorted by relevance

123

/freebsd-10.1-release/contrib/gdb/gdb/
H A Dlin-lwp.c89 #define GET_LWP(ptid) ptid_get_lwp (ptid)
90 #define GET_PID(ptid) ptid_get_pid (ptid)
91 #define is_lwp(ptid) (GET_LWP (ptid) != 0)
131 static int lin_lwp_thread_alive (ptid_t ptid);
181 add_lwp (ptid_t ptid)
185 gdb_assert (is_lwp (ptid));
191 lp->ptid
176 add_lwp(ptid_t ptid) argument
199 delete_lwp(ptid_t ptid) argument
228 find_lwp_pid(ptid_t ptid) argument
279 lin_lwp_attach_lwp(ptid_t ptid, int verbose) argument
510 lin_lwp_resume(ptid_t ptid, int step, enum target_signal signo) argument
1094 child_wait(ptid_t ptid, struct target_waitstatus *ourstatus) argument
1195 lin_lwp_wait(ptid_t ptid, struct target_waitstatus *ourstatus) argument
1714 lin_lwp_thread_alive(ptid_t ptid) argument
1732 lin_lwp_pid_to_str(ptid_t ptid) argument
[all...]
H A Dgdbthread.h41 ptid_t ptid; /* "Actual process id"; member in struct:thread_info
84 extern struct thread_info *add_thread (ptid_t ptid);
98 extern int pid_to_thread_id (ptid_t ptid);
102 extern int in_thread_list (ptid_t ptid);
109 extern struct thread_info *find_thread_pid (ptid_t ptid);
117 extern void save_infrun_state (ptid_t ptid,
136 extern void load_infrun_state (ptid_t ptid,
H A Duw-thread.c272 dbgpid (ptid_t ptid)
280 if (PIDGET (ptid) <= 0)
281 sprintf (buf, "%d", PIDGET (ptid));
416 thr_to_lwp (ptid_t ptid) argument
421 if (!ISTID (ptid))
422 lid = ptid;
423 else if (!(info = find_thread_pid (ptid)))
428 lid = MKLID (PIDGET (ptid), info->private->lwpid);
442 if (!ISTID (tp->ptid))
466 lwp_to_thr (ptid_t ptid) argument
491 ptid_t ptid = lwp_to_thr (inferior_ptid); local
503 ptid_t ptid = thr_to_lwp (inferior_ptid); local
519 add_thread_uw(int thrid, int lwpid, CORE_ADDR mapp, ptid_t ptid) argument
545 ptid_t ptid = MKTID (PIDGET (inferior_ptid), thrid); local
602 uw_thread_resume(ptid_t ptid, int step, enum target_signal signo) argument
619 libthread_stub(ptid_t ptid) argument
738 uw_thread_wait(ptid_t ptid, struct target_waitstatus *status) argument
842 uw_thread_alive(ptid_t ptid) argument
866 uw_thread_pid_to_str(ptid_t ptid) argument
[all...]
H A Dthread.c65 static void switch_to_thread (ptid_t ptid);
123 add_thread (ptid_t ptid) argument
129 tp->ptid = ptid;
137 delete_thread (ptid_t ptid) argument
144 if (ptid_equal (tp->ptid, ptid))
172 find_thread_pid (ptid_t ptid) argument
177 if (ptid_equal (tp->ptid, ptid))
223 pid_to_thread_id(ptid_t ptid) argument
245 in_thread_list(ptid_t ptid) argument
293 load_infrun_state(ptid_t ptid, CORE_ADDR *prev_pc, int *trap_expected, struct breakpoint **step_resume_breakpoint, struct breakpoint **through_sigtramp_breakpoint, CORE_ADDR *step_range_start, CORE_ADDR *step_range_end, struct frame_id *step_frame_id, int *handling_longjmp, int *another_trap, int *stepping_through_solib_after_catch, bpstat *stepping_through_solib_catchpoints, int *stepping_through_sigtramp, int *current_line, struct symtab **current_symtab, CORE_ADDR *step_sp) argument
339 save_infrun_state(ptid_t ptid, CORE_ADDR prev_pc, int trap_expected, struct breakpoint *step_resume_breakpoint, struct breakpoint *through_sigtramp_breakpoint, CORE_ADDR step_range_start, CORE_ADDR step_range_end, const struct frame_id *step_frame_id, int handling_longjmp, int another_trap, int stepping_through_solib_after_catch, bpstat stepping_through_solib_catchpoints, int stepping_through_sigtramp, int current_line, struct symtab *current_symtab, CORE_ADDR step_sp) argument
482 switch_to_thread(ptid_t ptid) argument
495 restore_current_thread(ptid_t ptid) argument
[all...]
H A Dthread-db.c131 static void attach_thread (ptid_t ptid, const td_thrhandle_t *th_p,
138 #define GET_PID(ptid) ptid_get_pid (ptid)
139 #define GET_LWP(ptid) ptid_get_lwp (ptid)
140 #define GET_THREAD(ptid) ptid_get_tid (ptid)
142 #define is_lwp(ptid) (GET_LWP (ptid) != 0)
143 #define is_thread(ptid) (GET_THREA
332 thread_from_lwp(ptid_t ptid) argument
357 lwp_from_thread(ptid_t ptid) argument
693 attach_thread(ptid_t ptid, const td_thrhandle_t *th_p, const td_thrinfo_t *ti_p, int verbose) argument
742 detach_thread(ptid_t ptid, int verbose) argument
778 thread_db_resume(ptid_t ptid, int step, enum target_signal signo) argument
800 check_event(ptid_t ptid) argument
876 thread_db_wait(ptid_t ptid, struct target_waitstatus *ourstatus) argument
1027 thread_db_post_startup_inferior(ptid_t ptid) argument
1066 thread_db_thread_alive(ptid_t ptid) argument
1112 ptid_t ptid; local
1144 thread_db_pid_to_str(ptid_t ptid) argument
1189 thread_db_get_thread_local_address(ptid_t ptid, struct objfile *objfile, CORE_ADDR offset) argument
[all...]
H A Dsol-thread.c79 extern char *procfs_pid_to_str (ptid_t ptid);
90 ptid_t ptid; member in struct:ps_prochandle
106 static void sol_thread_resume (ptid_t ptid, int step, enum target_signal signo);
108 static int sol_thread_alive (ptid_t ptid);
117 #define GET_PID(ptid) ptid_get_pid (ptid)
118 #define GET_LWP(ptid) ptid_get_lwp (ptid)
119 #define GET_THREAD(ptid) ptid_get_tid (ptid)
457 sol_thread_resume(ptid_t ptid, int step, enum target_signal signo) argument
488 sol_thread_wait(ptid_t ptid, struct target_waitstatus *ourstatus) argument
799 sol_thread_notice_signals(ptid_t ptid) argument
915 sol_thread_alive(ptid_t ptid) argument
1368 solaris_pid_to_str(ptid_t ptid) argument
1407 ptid_t ptid; local
[all...]
H A Di386fbsd-nat.c40 child_resume (ptid_t ptid, int step, enum target_signal signal) argument
42 pid_t pid = ptid_get_pid (ptid);
H A Dlynx-nat.c385 child_wait (ptid_t ptid, struct target_waitstatus *ourstatus) argument
430 ptid = BUILDPID (pid, thread);
434 inferior_ptid = ptid;
439 && !in_thread_list (ptid))
443 realsig = ptrace (PTRACE_GETTRACESIG, PIDGET (ptid),
452 return ptid;
461 && in_thread_list (ptid))
465 realsig = ptrace (PTRACE_GETTRACESIG, PIDGET (ptid),
470 ptrace (PTRACE_CONT, PIDGET (ptid), (PTRACE_ARG3_TYPE) 0, 0);
501 return ptid;
507 child_thread_alive(ptid_t ptid) argument
528 child_resume(ptid_t ptid, int step, enum target_signal signal) argument
565 child_pid_to_str(ptid_t ptid) argument
[all...]
H A Dtarget.h375 void (*to_notice_signals) (ptid_t ptid);
376 int (*to_thread_alive) (ptid_t ptid);
416 CORE_ADDR (*to_get_thread_local_address) (ptid_t ptid,
498 #define target_resume(ptid, step, siggnal) \
501 (*current_target.to_resume) (ptid, step, siggnal); \
512 #define target_wait(ptid, status) \
513 (*current_target.to_wait) (ptid, status)
525 #define target_post_wait(ptid, status) \
526 (*current_target.to_post_wait) (ptid, status)
734 #define target_post_startup_inferior(ptid) \
[all...]
H A Dinfrun.c978 ptid_t ptid;
1047 ecs->ptid = target_wait_hook (ecs->waiton_ptid, ecs->wp);
1049 ecs->ptid = target_wait (ecs->waiton_ptid, ecs->wp);
1104 async_ecs->ptid =
1107 async_ecs->ptid = target_wait (async_ecs->waiton_ptid, async_ecs->wp);
1184 if (in_thread_list (inferior_ptid) && in_thread_list (ecs->ptid))
1198 load_infrun_state (ecs->ptid, &prev_pc,
1208 inferior_ptid = ecs->ptid;
1373 stop_pc = read_pc_pid (ecs->ptid) - DECR_PC_AFTER_BREAK;
1408 write_pc_pid (stop_pc, ecs->ptid);
973 ptid_t ptid; member in struct:execution_control_state
3987 ptid_t ptid; local
4006 ptid_get_pid(ptid_t ptid) argument
4014 ptid_get_lwp(ptid_t ptid) argument
4022 ptid_get_tid(ptid_t ptid) argument
[all...]
H A Dinferior.h65 /* The -1 ptid, often used to indicate either an error condition
69 /* The null or zero ptid, often used to indicate no process. */
72 /* Attempt to find and return an existing ptid with the given PID, LWP,
77 /* Find/Create a ptid from just a pid. */
80 /* Fetch the pid (process id) component from a ptid. */
81 int ptid_get_pid (ptid_t ptid);
83 /* Fetch the lwp (lightweight process) component from a ptid. */
84 long ptid_get_lwp (ptid_t ptid);
86 /* Fetch the tid (thread id) component from a ptid. */
87 long ptid_get_tid (ptid_t ptid);
[all...]
H A Dinftarg.c105 child_wait (ptid_t ptid, struct target_waitstatus *ourstatus) argument
166 child_post_wait (ptid_t ptid, int wait_status) argument
183 child_thread_alive (ptid_t ptid) argument
185 pid_t pid = PIDGET (ptid);
373 child_post_startup_inferior (ptid_t ptid) argument
609 child_pid_to_str (ptid_t ptid) argument
611 return normal_pid_to_str (ptid);
H A Dnto-procfs.c74 static ptid_t do_attach (ptid_t ptid);
212 procfs_set_thread (ptid_t ptid) argument
216 tid = ptid_get_tid (ptid);
222 procfs_thread_alive (ptid_t ptid) argument
226 tid = ptid_get_tid (ptid);
237 ptid_t ptid; local
249 ptid = ptid_build (pid, 0, status.tid);
250 if (!in_thread_list (ptid))
251 add_thread (ptid);
544 do_attach (ptid_t ptid) argument
609 procfs_wait(ptid_t ptid, struct target_waitstatus *ourstatus) argument
830 procfs_resume(ptid_t ptid, int step, enum target_signal signo) argument
1223 procfs_notice_signals(ptid_t ptid) argument
1237 procfs_pid_to_str(ptid_t ptid) argument
[all...]
H A Dregcache.h249 extern ULONGEST read_register_pid (int regnum, ptid_t ptid);
253 extern void write_register_pid (int regnum, CORE_ADDR val, ptid_t ptid);
H A Dregcache.c1162 read_register_pid (int regnum, ptid_t ptid) argument
1168 if (ptid_equal (ptid, inferior_ptid))
1173 inferior_ptid = ptid;
1196 write_register_pid (int regnum, CORE_ADDR val, ptid_t ptid) argument
1200 if (ptid_equal (ptid, inferior_ptid))
1208 inferior_ptid = ptid;
1320 read_pc_pid (ptid_t ptid) argument
1325 /* In case ptid != inferior_ptid. */
1327 inferior_ptid = ptid;
1330 pc_val = TARGET_READ_PC (ptid);
1351 generic_target_write_pc(CORE_ADDR pc, ptid_t ptid) argument
1361 write_pc_pid(CORE_ADDR pc, ptid_t ptid) argument
[all...]
H A Dtarget.c1607 normal_pid_to_str (ptid_t ptid)
1611 sprintf (buf, "process %d", PIDGET (ptid));
1711 debug_to_resume (ptid_t ptid, int step, enum target_signal siggnal)
1713 debug_target.to_resume (ptid, step, siggnal);
1715 fprintf_unfiltered (gdb_stdlog, "target_resume (%d, %s, %s)\n", PIDGET (ptid),
1721 debug_to_wait (ptid_t ptid, struct target_waitstatus *status)
1725 retval = debug_target.to_wait (ptid, status);
1728 "target_wait (%d, status) = %d, ", PIDGET (ptid),
1769 debug_to_post_wait (ptid_t ptid, int status)
1771 debug_target.to_post_wait (ptid, statu
1603 normal_pid_to_str(ptid_t ptid) argument
1706 debug_to_resume(ptid_t ptid, int step, enum target_signal siggnal) argument
1716 debug_to_wait(ptid_t ptid, struct target_waitstatus *status) argument
1764 debug_to_post_wait(ptid_t ptid, int status) argument
2092 debug_to_post_startup_inferior(ptid_t ptid) argument
2246 debug_to_notice_signals(ptid_t ptid) argument
2255 debug_to_thread_alive(ptid_t ptid) argument
[all...]
H A Dinfptrace.c203 ptrace_wait (ptid_t ptid, int *status)
243 child_resume (ptid_t ptid, int step, enum target_signal signal)
245 int pid = PIDGET (ptid);
202 ptrace_wait(ptid_t ptid, int *status) argument
242 child_resume(ptid_t ptid, int step, enum target_signal signal) argument
H A Docd.h99 void ocd_resume (ptid_t ptid, int step, enum target_signal siggnal);
H A Dremote-sim.c94 static void gdbsim_resume (ptid_t ptid, int step, enum target_signal siggnal);
96 static ptid_t gdbsim_wait (ptid_t ptid, struct target_waitstatus *status);
603 gdbsim_resume (ptid_t ptid, int step, enum target_signal siggnal) argument
665 gdbsim_wait (ptid_t ptid, struct target_waitstatus *status) argument
H A Dprocfs.c3382 static ptid_t do_attach (ptid_t ptid);
3569 do_attach (ptid_t ptid) argument
3574 if ((pi = create_procinfo (PIDGET (ptid), 0)) == NULL)
3581 PIDGET (ptid));
3882 procfs_wait (ptid_t ptid, struct target_waitstatus *status) argument
4054 target_resume (ptid, 0, TARGET_SIGNAL_0);
4468 procfs_resume (ptid_t ptid, int step, enum target_signal signo) argument
4510 if (PIDGET (ptid) != -1)
4513 thread = find_procinfo (PIDGET (ptid), TIDGET (ptid));
4577 procfs_notice_signals(ptid_t ptid) argument
5102 procfs_thread_alive(ptid_t ptid) argument
5132 procfs_pid_to_str(ptid_t ptid) argument
5155 procfs_set_watchpoint(ptid_t ptid, CORE_ADDR addr, int len, int rwflag, int after) argument
5244 procfs_stopped_by_watchpoint(ptid_t ptid) argument
5283 procfs_find_LDT_entry(ptid_t ptid) argument
5822 procfs_do_thread_registers(bfd *obfd, ptid_t ptid, char *note_data, int *note_size) argument
[all...]
H A Dppc-bdm.c43 static ptid_t bdm_ppc_wait (ptid_t ptid,
104 bdm_ppc_wait (ptid_t ptid, struct target_waitstatus *target_status)
102 bdm_ppc_wait(ptid_t ptid, struct target_waitstatus *target_status) argument
/freebsd-10.1-release/contrib/gdb/gdb/config/
H A Dnm-lynx.h75 extern ptid_t child_wait (ptid_t ptid,
84 extern char *lynx_pid_to_str (ptid_t ptid);
/freebsd-10.1-release/gnu/usr.bin/gdb/libgdb/
H A Dfbsd-threads.c153 static int fbsd_thread_alive (ptid_t ptid);
154 static void attach_thread (ptid_t ptid, const td_thrhandle_t *th_p,
160 #define GET_PID(ptid) ptid_get_pid (ptid)
161 #define GET_LWP(ptid) ptid_get_lwp (ptid)
162 #define GET_THREAD(ptid) ptid_get_tid (ptid)
164 #define IS_LWP(ptid) (GET_LWP (ptid) !
252 thread_from_lwp(ptid_t ptid, td_thrhandle_t *th, td_thrinfo_t *ti) argument
310 ptid_t tmp, ptid; local
603 fbsd_thread_resume(ptid_t ptid, int step, enum target_signal signo) argument
699 attach_thread(ptid_t ptid, const td_thrhandle_t *th_p, const td_thrinfo_t *ti_p, int verbose) argument
726 detach_thread(ptid_t ptid, int verbose) argument
733 check_event(ptid_t ptid) argument
782 fbsd_thread_wait(ptid_t ptid, struct target_waitstatus *ourstatus) argument
1066 fbsd_thread_post_startup_inferior(ptid_t ptid) argument
1107 fbsd_thread_alive(ptid_t ptid) argument
1171 ptid_t ptid; local
1203 fbsd_thread_pid_to_str(ptid_t ptid) argument
1247 fbsd_thread_get_local_address(ptid_t ptid, struct objfile *objfile, CORE_ADDR offset) argument
[all...]
/freebsd-10.1-release/gnu/usr.bin/gdb/kgdb/
H A Dtrgt.c195 return (kgdb_thr_extra_thread_info(ptid_get_pid(ti->ptid)));
221 kgdb_trgt_pid_to_str(ptid_t ptid) argument
225 snprintf(buf, sizeof(buf), "Thread %d", ptid_get_pid(ptid));
230 kgdb_trgt_thread_alive(ptid_t ptid) argument
232 return (kgdb_thr_lookup_tid(ptid_get_pid(ptid)) != NULL);
/freebsd-10.1-release/contrib/sendmail/libmilter/
H A Dlibmilter.h131 # define thread_create(ptid,wr,arg) pthread_create(ptid, NULL, wr, arg)

Completed in 275 milliseconds

123