/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/ |
H A D | 6-1.c | 17 pthread_t ptid = pthread_self(); local 18 if (ptid == 0)
|
/haiku-fatelf/src/bin/gdb/gdb/config/ |
H A D | nm-linux.h | 48 extern ptid_t child_wait (ptid_t ptid, struct target_waitstatus *ourstatus); 51 extern void lin_lwp_attach_lwp (ptid_t ptid, int verbose); 52 #define ATTACH_LWP(ptid, verbose) lin_lwp_attach_lwp ((ptid), (verbose))
|
H A D | nm-lynx.h | 75 extern ptid_t child_wait (ptid_t ptid, 84 extern char *lynx_pid_to_str (ptid_t ptid);
|
/haiku-fatelf/src/bin/gdb/gdb/ |
H A D | gdbthread.h | 41 ptid_t ptid; /* "Actual process id"; member in struct:thread_info 78 extern struct thread_info *add_thread (ptid_t ptid); 92 extern int pid_to_thread_id (ptid_t ptid); 96 extern int in_thread_list (ptid_t ptid); 103 extern struct thread_info *find_thread_pid (ptid_t ptid); 111 extern void save_infrun_state (ptid_t ptid, 127 extern void load_infrun_state (ptid_t ptid,
|
H A D | linux-nat.h | 29 ptid_t ptid; member in struct:lwp_info 80 extern void linux_enable_event_reporting (ptid_t ptid); 83 extern void linux_child_post_startup_inferior (ptid_t ptid);
|
H A D | uw-thread.c | 273 dbgpid (ptid_t ptid) 281 if (PIDGET (ptid) <= 0) 282 sprintf (buf, "%d", PIDGET (ptid)); 420 thr_to_lwp (ptid_t ptid) argument 425 if (!ISTID (ptid)) 426 lid = ptid; 427 else if (!(info = find_thread_pid (ptid))) 432 lid = MKLID (PIDGET (ptid), info->private->lwpid); 446 if (!ISTID (tp->ptid)) 470 lwp_to_thr (ptid_t ptid) argument 495 ptid_t ptid = lwp_to_thr (inferior_ptid); local 507 ptid_t ptid = thr_to_lwp (inferior_ptid); local 523 add_thread_uw(int thrid, int lwpid, CORE_ADDR mapp, ptid_t ptid) argument 549 ptid_t ptid = MKTID (PIDGET (inferior_ptid), thrid); local 606 uw_thread_resume(ptid_t ptid, int step, enum target_signal signo) argument 623 libthread_stub(ptid_t ptid) argument 743 uw_thread_wait(ptid_t ptid, struct target_waitstatus *status) argument 848 uw_thread_alive(ptid_t ptid) argument 872 uw_thread_pid_to_str(ptid_t ptid) argument [all...] |
H A D | thread-db.c | 131 static void attach_thread (ptid_t ptid, const td_thrhandle_t *th_p, 133 static void detach_thread (ptid_t ptid, int verbose); 139 #define GET_PID(ptid) ptid_get_pid (ptid) 140 #define GET_LWP(ptid) ptid_get_lwp (ptid) 141 #define GET_THREAD(ptid) ptid_get_tid (ptid) 143 #define is_lwp(ptid) (GET_LWP (ptid) ! 355 thread_from_lwp(ptid_t ptid) argument 392 lwp_from_thread(ptid_t ptid) argument 720 attach_thread(ptid_t ptid, const td_thrhandle_t *th_p, const td_thrinfo_t *ti_p, int verbose) argument 790 detach_thread(ptid_t ptid, int verbose) argument 839 thread_db_resume(ptid_t ptid, int step, enum target_signal signo) argument 861 check_event(ptid_t ptid) argument 934 thread_db_wait(ptid_t ptid, struct target_waitstatus *ourstatus) argument 1091 thread_db_post_startup_inferior(ptid_t ptid) argument 1122 thread_db_thread_alive(ptid_t ptid) argument 1168 ptid_t ptid; local 1200 thread_db_pid_to_str(ptid_t ptid) argument 1245 thread_db_get_thread_local_address(ptid_t ptid, struct objfile *objfile, CORE_ADDR offset) argument [all...] |
H A D | linux-nat.c | 243 linux_enable_event_reporting (ptid_t ptid) 245 int pid = ptid_get_pid (ptid); 269 linux_child_post_startup_inferior (ptid_t ptid) 271 linux_enable_event_reporting (ptid); 276 child_post_startup_inferior (ptid_t ptid) 278 linux_child_post_startup_inferior (ptid); 592 #define GET_LWP(ptid) ptid_get_lwp (ptid) 593 #define GET_PID(ptid) ptid_get_pid (ptid) 240 linux_enable_event_reporting(ptid_t ptid) argument 266 linux_child_post_startup_inferior(ptid_t ptid) argument 273 child_post_startup_inferior(ptid_t ptid) argument 672 add_lwp(ptid_t ptid) argument 697 delete_lwp(ptid_t ptid) argument 726 find_lwp_pid(ptid_t ptid) argument 768 lin_lwp_attach_lwp(ptid_t ptid, int verbose) argument 1002 linux_nat_resume(ptid_t ptid, int step, enum target_signal signo) argument 1633 child_wait(ptid_t ptid, struct target_waitstatus *ourstatus) argument 1754 linux_nat_wait(ptid_t ptid, struct target_waitstatus *ourstatus) argument 2287 linux_nat_thread_alive(ptid_t ptid) argument 2305 linux_nat_pid_to_str(ptid_t ptid) argument 2473 linux_nat_do_thread_registers(bfd *obfd, ptid_t ptid, char *note_data, int *note_size) argument 2541 linux_nat_do_registers(bfd *obfd, ptid_t ptid, char *note_data, int *note_size) argument [all...] |
H A D | thread.c | 65 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, 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 *current_line, struct symtab **current_symtab) argument 334 save_infrun_state(ptid_t ptid, CORE_ADDR prev_pc, int trap_expected, struct breakpoint *step_resume_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 current_line, struct symtab *current_symtab) argument 458 switch_to_thread(ptid_t ptid) argument 471 restore_current_thread(ptid_t ptid) argument [all...] |
H A D | ia64-linux-nat.c | 491 enable_watchpoints_in_psr (ptid_t ptid) argument 495 psr = read_register_pid (IA64_PSR_REGNUM, ptid); 500 write_register_pid (IA64_PSR_REGNUM, psr, ptid); 505 fetch_debug_register (ptid_t ptid, int idx) argument 510 tid = TIDGET (ptid); 512 tid = PIDGET (ptid); 520 store_debug_register (ptid_t ptid, int idx, long val) argument 524 tid = TIDGET (ptid); 526 tid = PIDGET (ptid); 532 fetch_debug_register_pair (ptid_t ptid, in argument 541 store_debug_register_pair(ptid_t ptid, int idx, long *dbr_addr, long *dbr_mask) argument 563 ia64_linux_insert_watchpoint(ptid_t ptid, CORE_ADDR addr, int len, int rw) argument 610 ia64_linux_remove_watchpoint(ptid_t ptid, CORE_ADDR addr, int len) argument 639 ptid_t ptid = inferior_ptid; local [all...] |
H A D | sol-thread.c | 83 extern char *procfs_pid_to_str (ptid_t ptid); 94 ptid_t ptid; member in struct:ps_prochandle 107 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) 395 sol_thread_resume(ptid_t ptid, int step, enum target_signal signo) argument 426 sol_thread_wait(ptid_t ptid, struct target_waitstatus *ourstatus) argument 745 sol_thread_notice_signals(ptid_t ptid) argument 868 sol_thread_alive(ptid_t ptid) argument 1323 solaris_pid_to_str(ptid_t ptid) argument 1362 ptid_t ptid; local [all...] |
H A D | hpux-thread.c | 67 static void hpux_thread_resume (ptid_t ptid, int step, 96 static cma__t_int_tcb *find_tcb (ptid_t ptid); 99 find_tcb (ptid_t ptid) 103 int thread = ptid_get_tid (ptid); 175 hpux_thread_resume (ptid_t ptid, int step, enum target_signal signo) 181 ptid = main_ptid; 193 deprecated_child_ops.to_resume (ptid, step, signo); 204 hpux_thread_wait (ptid_t ptid, struct target_waitstatus *ourstatus) 213 if (!ptid_equal (ptid, minus_one_ptid)) 214 ptid 98 find_tcb(ptid_t ptid) argument 173 hpux_thread_resume(ptid_t ptid, int step, enum target_signal signo) argument 202 hpux_thread_wait(ptid_t ptid, struct target_waitstatus *ourstatus) argument 428 hpux_thread_notice_signals(ptid_t ptid) argument 515 hpux_thread_alive(ptid_t ptid) argument 529 hpux_pid_to_str(ptid_t ptid) argument [all...] |
H A D | ia64-linux-tdep.c | 100 ia64_linux_write_pc (CORE_ADDR pc, ptid_t ptid) argument 102 ia64_write_pc (pc, ptid); 113 write_register_pid (IA64_GR10_REGNUM, 0, ptid);
|
H A D | lynx-nat.c | 385 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 D | inferior.h | 65 /* 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 D | target.h | 375 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) 719 #define target_post_startup_inferior(ptid) \ 720 (*current_target.to_post_startup_inferior) (ptid) 795 #define target_notice_signals(ptid) \ [all...] |
H A D | infrun.c | 925 ptid_t ptid; 991 ecs->ptid = deprecated_target_wait_hook (ecs->waiton_ptid, ecs->wp); 993 ecs->ptid = target_wait (ecs->waiton_ptid, ecs->wp); 1046 async_ecs->ptid = 1049 async_ecs->ptid = target_wait (async_ecs->waiton_ptid, async_ecs->wp); 1112 if (in_thread_list (inferior_ptid) && in_thread_list (ecs->ptid)) 1125 load_infrun_state (ecs->ptid, &prev_pc, 1134 inferior_ptid = ecs->ptid; 1176 breakpoint_pc = read_pc_pid (ecs->ptid) - DECR_PC_AFTER_BREAK; 1189 write_pc_pid (breakpoint_pc, ecs->ptid); 920 ptid_t ptid; member in struct:execution_control_state 3654 ptid_t ptid; local 3673 ptid_get_pid(ptid_t ptid) argument 3681 ptid_get_lwp(ptid_t ptid) argument 3689 ptid_get_tid(ptid_t ptid) argument [all...] |
H A D | aix-thread.c | 71 #define PD_TID(ptid) (pd_active && ptid_get_tid (ptid) != 0) 73 /* Build a thread ptid. */ 76 /* Build and lwp ptid. */ 273 ptid_t ptid; local 275 ptid = *ptidp; 276 if (PD_TID (ptid)) 277 *ptidp = pid_to_ptid (PIDGET (ptid)); 591 /* ptid comparison function */ 621 return ptid_cmp (t1->ptid, t 798 ptid_t ptid; local 957 aix_thread_resume(ptid_t ptid, int step, enum target_signal sig) argument 996 aix_thread_wait(ptid_t ptid, struct target_waitstatus *status) argument 1638 aix_thread_thread_alive(ptid_t ptid) argument 1652 aix_thread_pid_to_str(ptid_t ptid) argument [all...] |
H A D | i386fbsd-nat.c | 39 i386fbsd_resume (ptid_t ptid, int step, enum target_signal signal) argument 41 pid_t pid = ptid_get_pid (ptid);
|
H A D | inf-ptrace.c | 67 inf_ptrace_resume (ptid_t ptid, int step, enum target_signal signal) argument 70 int pid = PIDGET (ptid); 102 inf_ptrace_wait (ptid_t ptid, struct target_waitstatus *ourstatus) argument 169 inf_ptrace_thread_alive (ptid_t ptid) argument 171 pid_t pid = PIDGET (ptid); 354 inf_ptrace_post_startup_inferior (ptid_t ptid) argument 592 inf_ptrace_pid_to_str (ptid_t ptid) argument 594 return normal_pid_to_str (ptid);
|
H A D | nto-procfs.c | 74 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 1224 procfs_notice_signals(ptid_t ptid) argument 1238 procfs_pid_to_str(ptid_t ptid) argument [all...] |
H A D | i386-linux-tdep.c | 298 i386_linux_write_pc (CORE_ADDR pc, ptid_t ptid) 300 write_register_pid (I386_EIP_REGNUM, pc, ptid); 316 write_register_pid (I386_LINUX_ORIG_EAX_REGNUM, -1, ptid); 297 i386_linux_write_pc(CORE_ADDR pc, ptid_t ptid) argument
|
/haiku-fatelf/src/bin/gdb/gdb/config/ia64/ |
H A D | nm-linux.h | 70 extern int ia64_linux_insert_watchpoint (ptid_t ptid, CORE_ADDR addr, 75 extern int ia64_linux_remove_watchpoint (ptid_t ptid, CORE_ADDR addr,
|
/haiku-fatelf/src/bin/gdb/gdb/config/i386/ |
H A D | tm-cygwin.h | 31 char *cygwin_pid_to_str (ptid_t ptid);
|
/haiku-fatelf/src/bin/gdb/gdb/config/pa/ |
H A D | nm-hppah.h | 172 #define target_tid_to_str( ptid ) \ 173 hppa_tid_to_str( ptid )
|