| /openbsd/src/gnu/usr.bin/binutils/gdb/ |
| D | inftarg.c | 135 return pid_to_ptid (-1); in child_wait() 146 if (!target_thread_alive (pid_to_ptid (pid))) in child_wait() 149 return pid_to_ptid (pid); in child_wait() 154 return pid_to_ptid (pid); in child_wait() 202 target_pid_to_str (pid_to_ptid (pid))); in child_attach() 205 target_pid_to_str (pid_to_ptid (pid))); in child_attach() 212 inferior_ptid = pid_to_ptid (pid); in child_attach() 245 target_pid_to_str (pid_to_ptid (pid))); in child_detach() 321 target_post_startup_inferior (pid_to_ptid (pid)); in ptrace_him()
|
| D | hppah-nat.c | 445 target_pid_to_str (pid_to_ptid (child_pid))); in child_follow_fork() 505 target_pid_to_str (pid_to_ptid (child_pid))); in child_follow_fork() 507 inferior_ptid = pid_to_ptid (child_pid); in child_follow_fork() 624 return pid_to_ptid (-1); in child_wait() 635 if (!target_thread_alive (pid_to_ptid (pid))) in child_wait() 638 return pid_to_ptid (pid); in child_wait() 686 child_post_startup_inferior (pid_to_ptid (pid)); in child_wait() 691 child_resume (pid_to_ptid (pid), 0, TARGET_SIGNAL_0); in child_wait() 693 return pid_to_ptid (related_pid); in child_wait() 699 return pid_to_ptid (pid); in child_wait() [all …]
|
| D | inf-ptrace.c | 73 inferior_ptid = pid_to_ptid (fpid); in inf_ptrace_follow_fork() 84 inferior_ptid = pid_to_ptid (pid); in inf_ptrace_follow_fork() 127 target_post_startup_inferior (pid_to_ptid (pid)); in inf_ptrace_him() 211 target_pid_to_str (pid_to_ptid (pid))); in inf_ptrace_attach() 214 target_pid_to_str (pid_to_ptid (pid))); in inf_ptrace_attach() 229 inferior_ptid = pid_to_ptid (pid); in inf_ptrace_attach() 269 target_pid_to_str (pid_to_ptid (pid))); in inf_ptrace_detach() 430 return pid_to_ptid (fpid); in inf_ptrace_wait() 433 return pid_to_ptid (pid); in inf_ptrace_wait() 439 return pid_to_ptid (pid); in inf_ptrace_wait()
|
| D | obsd-nat.c | 114 ptid = pid_to_ptid (pid); in obsd_wait() 144 return pid_to_ptid (fpid); in obsd_wait() 147 return pid_to_ptid (pid); in obsd_wait()
|
| D | sol-thread.c | 274 return pid_to_ptid (-1); /* Thread must have terminated. */ in thread_to_lwp() 280 return pid_to_ptid (-1); /* Thread must have terminated. */ in thread_to_lwp() 287 return pid_to_ptid (default_lwp); in thread_to_lwp() 313 return pid_to_ptid (-1); /* Must be a defunct LPW. */ in lwp_to_thread() 317 return pid_to_ptid (-1); /* Thread must have terminated. */ in lwp_to_thread() 329 return pid_to_ptid (-1); /* Thread must have terminated. */ in lwp_to_thread() 384 inferior_ptid = pid_to_ptid (PIDGET (main_ph.ptid)); in sol_thread_detach() 747 procfs_ops.to_notice_signals (pid_to_ptid (PIDGET (ptid))); in sol_thread_notice_signals()
|
| D | linux-nat.c | 262 linux_enable_event_reporting (pid_to_ptid (pid)); in child_post_attach() 400 inferior_ptid = pid_to_ptid (child_pid); in child_follow_fork() 962 inferior_ptid = pid_to_ptid (GET_PID (inferior_ptid)); in linux_nat_detach() 975 child_resume (pid_to_ptid (GET_LWP (lp->ptid)), 0, TARGET_SIGNAL_0); in resume_callback() 1023 ptid = pid_to_ptid (GET_LWP (lp->ptid)); in linux_nat_resume() 1726 return pid_to_ptid (pid); in child_wait() 1839 child_resume (pid_to_ptid (GET_LWP (lp->ptid)), lp->step, in linux_nat_wait() 1873 lp = find_lwp_pid (pid_to_ptid (lwpid)); in linux_nat_wait() 2041 child_resume (pid_to_ptid (GET_LWP (lp->ptid)), lp->step, in linux_nat_wait() 2101 child_resume (pid_to_ptid (GET_LWP (lp->ptid)), lp->step, signo); in linux_nat_wait() [all …]
|
| D | aix-thread.c | 277 *ptidp = pid_to_ptid (PIDGET (ptid)); in pid_to_prc() 965 inferior_ptid = pid_to_ptid (PIDGET (inferior_ptid)); in aix_thread_resume() 1002 inferior_ptid = pid_to_ptid (PIDGET (inferior_ptid)); in aix_thread_wait() 1007 return pid_to_ptid (-1); in aix_thread_wait() 1606 inferior_ptid = pid_to_ptid (PIDGET (inferior_ptid)); in aix_thread_xfer_memory() 1621 inferior_ptid = pid_to_ptid (PIDGET (inferior_ptid)); in aix_thread_kill()
|
| D | corelow.c | 266 add_thread (pid_to_ptid (thread_id)); in add_to_thread_list() 272 inferior_ptid = pid_to_ptid (thread_id); /* Yes, make it current */ in add_to_thread_list()
|
| D | i386-linux-nat.c | 772 CORE_ADDR pc = read_pc_pid (pid_to_ptid (pid)); in child_resume() 790 pid_to_ptid (pid)); in child_resume()
|
| D | win32-nat.c | 266 add_thread (pid_to_ptid (id)); in child_add_thread() 311 printf_unfiltered ("[Deleting %s]\n", target_pid_to_str (pid_to_ptid (id))); in child_delete_thread() 312 delete_thread (pid_to_ptid (id)); in child_delete_thread() 1272 pid_to_ptid (current_event.dwThreadId))); in get_child_debug_event() 1389 inferior_ptid = pid_to_ptid (retval); in get_child_debug_event() 1413 return pid_to_ptid (retval); in child_wait() 1615 target_pid_to_str (pid_to_ptid (pid))); in child_attach() 1618 target_pid_to_str (pid_to_ptid (pid))); in child_attach()
|
| D | inferior.h | 78 ptid_t pid_to_ptid (int pid);
|
| D | fork-child.c | 381 inferior_ptid = pid_to_ptid (pid); in fork_inferior()
|
| D | nto-procfs.c | 523 target_pid_to_str (pid_to_ptid (pid))); in procfs_attach() 526 target_pid_to_str (pid_to_ptid (pid))); in procfs_attach() 530 inferior_ptid = do_attach (pid_to_ptid (pid)); in procfs_attach() 1067 inferior_ptid = do_attach (pid_to_ptid (pid)); in procfs_create_inferior()
|
| D | thread.c | 241 return pid_to_ptid (-1); in thread_id_to_pid() 378 tp->ptid = pid_to_ptid (-1); /* Mark it as dead */ in thread_alive()
|
| D | proc-service.c | 75 inferior_ptid = pid_to_ptid (ph->pid); in ps_xfer_memory()
|
| D | remote.c | 1012 if (!in_thread_list (pid_to_ptid (currthread))) in record_currthread() 1014 add_thread (pid_to_ptid (currthread)); in record_currthread() 1016 ui_out_text (uiout, target_pid_to_str (pid_to_ptid (currthread))); in record_currthread() 1720 ptid = pid_to_ptid (threadref_to_int (ref)); in remote_newthread_step() 1738 return pid_to_ptid (strtol (&buf[2], NULL, 16)); in remote_current_thread() 1786 if (tid != 0 && !in_thread_list (pid_to_ptid (tid))) in remote_threads_info() 1787 add_thread (pid_to_ptid (tid)); in remote_threads_info() 2201 inferior_ptid = pid_to_ptid (MAGIC_NULL_PID); in remote_open_1() 2967 return pid_to_ptid (thread_num); in remote_wait() 3159 return pid_to_ptid (thread_num); in remote_async_wait() [all …]
|
| D | infrun.c | 233 #define RESUME_ALL (pid_to_ptid (-1)) 421 inferior_ptid = pid_to_ptid (saved_pid); in follow_exec() 1080 ecs->waiton_ptid = pid_to_ptid (-1); in init_execution_control_state() 1245 ecs->waiton_ptid = pid_to_ptid (-1); in handle_inferior_event() 2772 ecs->waiton_ptid = pid_to_ptid (-1); in prepare_to_wait() 3670 pid_to_ptid (int pid) in pid_to_ptid() function
|
| D | remote-vx.c | 232 inferior_ptid = pid_to_ptid (taskStart.pid); in vx_create_inferior() 1030 return pid_to_ptid (pid); in vx_wait() 1203 inferior_ptid = pid_to_ptid (pid); in vx_attach()
|
| D | thread-db.c | 384 return pid_to_ptid (-1); in thread_from_lwp() 950 return pid_to_ptid (-1); in thread_db_wait() 984 inferior_ptid = pid_to_ptid (GET_PID (inferior_ptid)); in thread_db_xfer_memory()
|
| D | uw-thread.c | 612 ptid = pid_to_ptid (-1); in uw_thread_resume() 748 ptid = pid_to_ptid (-1); in uw_thread_wait()
|
| D | remote-rdi.c | 319 inferior_ptid = pid_to_ptid (42); in arm_rdi_open() 354 inferior_ptid = pid_to_ptid (42); in arm_rdi_create_inferior()
|
| D | procfs.c | 3545 exec_file, target_pid_to_str (pid_to_ptid (pid))); in procfs_attach() 3548 target_pid_to_str (pid_to_ptid (pid))); in procfs_attach() 3552 inferior_ptid = do_attach (pid_to_ptid (pid)); in procfs_attach() 3574 target_pid_to_str (pid_to_ptid (pid))); in procfs_detach() 3912 retval = pid_to_ptid (-1); in procfs_wait() 3946 retval = pid_to_ptid (wait_retval); in procfs_wait() 4038 retval = pid_to_ptid (temp); in procfs_wait() 4251 retval = pid_to_ptid (-1); in procfs_wait() 6022 return pid_to_ptid (procinfo_list ? procinfo_list->pid : -1); in procfs_first_available()
|
| D | solib-sunos.c | 771 target_resume (pid_to_ptid (-1), 0, stop_signal); in sunos_solib_create_inferior_hook()
|
| D | solib-irix.c | 437 target_resume (pid_to_ptid (-1), 0, stop_signal); in irix_solib_create_inferior_hook()
|
| D | gnu-nat.c | 1069 add_thread (pid_to_ptid (thread->tid)); /* Tell GDB's generic thread code. */ in inf_validate_procs() 1581 tid = pid_to_ptid (thread->tid); in gnu_wait() 1589 tid = pid_to_ptid (inf->threads->tid); /* The first available thread. */ in gnu_wait() 2072 inferior_ptid = pid_to_ptid (inf_pick_first_thread ()); in gnu_create_inferior() 2141 inferior_ptid = pid_to_ptid (inf_pick_first_thread ()); in gnu_attach()
|