/dragonfly/contrib/gdb-7/gdb/ |
H A D | amd64bsd-nat.c | 52 if (ptrace (PT_GETREGS, PIDGET (inferior_ptid), in amd64bsd_fetch_inferior_registers() 65 if (ptrace (PT_GETFPREGS, PIDGET (inferior_ptid), in amd64bsd_fetch_inferior_registers() 86 if (ptrace (PT_GETREGS, PIDGET (inferior_ptid), in amd64bsd_store_inferior_registers() 92 if (ptrace (PT_SETREGS, PIDGET (inferior_ptid), in amd64bsd_store_inferior_registers() 104 if (ptrace (PT_GETFPREGS, PIDGET (inferior_ptid), in amd64bsd_store_inferior_registers() 140 if (ptrace (PT_GETDBREGS, PIDGET (inferior_ptid), in amd64bsd_dr_get() 152 if (ptrace (PT_GETDBREGS, PIDGET (inferior_ptid), in amd64bsd_dr_set() 163 if (ptrace (PT_SETDBREGS, PIDGET (inferior_ptid), in amd64bsd_dr_set() 185 return amd64bsd_dr_get (inferior_ptid, regnum); in amd64bsd_dr_get_addr() 191 return amd64bsd_dr_get (inferior_ptid, 6); in amd64bsd_dr_get_status() [all …]
|
H A D | i386bsd-nat.c | 139 if (ptrace (PT_GETREGS, PIDGET (inferior_ptid), in i386bsd_fetch_inferior_registers() 155 && ptrace(PT_GETXMMREGS, PIDGET (inferior_ptid), in i386bsd_fetch_inferior_registers() 190 if (ptrace (PT_GETREGS, PIDGET (inferior_ptid), in i386bsd_store_inferior_registers() 196 if (ptrace (PT_SETREGS, PIDGET (inferior_ptid), in i386bsd_store_inferior_registers() 211 && ptrace(PT_GETXMMREGS, PIDGET (inferior_ptid), in i386bsd_store_inferior_registers() 271 if (ptrace (PT_GETDBREGS, PIDGET (inferior_ptid), in i386bsd_dr_get() 283 if (ptrace (PT_GETDBREGS, PIDGET (inferior_ptid), in i386bsd_dr_set() 294 if (ptrace (PT_SETDBREGS, PIDGET (inferior_ptid), in i386bsd_dr_set() 316 return i386bsd_dr_get (inferior_ptid, regnum); in i386bsd_dr_get_addr() 322 return i386bsd_dr_get (inferior_ptid, 6); in i386bsd_dr_get_status() [all …]
|
H A D | ravenscar-thread.c | 81 base_ptid = inferior_ptid; in ravenscar_update_inferior_ptid() 90 inferior_ptid = ravenscar_running_thread (); in ravenscar_update_inferior_ptid() 91 gdb_assert (!ptid_equal (inferior_ptid, null_ptid)); in ravenscar_update_inferior_ptid() 96 if (!find_thread_ptid (inferior_ptid)) in ravenscar_update_inferior_ptid() 97 add_thread (inferior_ptid); in ravenscar_update_inferior_ptid() 180 inferior_ptid = base_ptid; in ravenscar_resume() 191 inferior_ptid = base_ptid; in ravenscar_wait() 206 return inferior_ptid; in ravenscar_wait() 272 || ptid_equal (inferior_ptid, base_magic_null_ptid) in ravenscar_fetch_registers() 292 || ptid_equal (inferior_ptid, base_magic_null_ptid) in ravenscar_store_registers() [all …]
|
H A D | thread.c | 201 if (ptid_equal (inferior_ptid, ptid)) in add_thread_silent() 774 current_ptid = inferior_ptid; in print_thread_info() 987 if (ptid_equal (ptid, inferior_ptid)) in switch_to_thread() 990 inferior_ptid = ptid; in switch_to_thread() 1071 ptid_t inferior_ptid; member 1104 && is_stopped (inferior_ptid) in do_restore_current_thread_cleanup() 1136 old->inferior_ptid = inferior_ptid; in make_cleanup_restore_current_thread() 1255 target_pid_to_str (inferior_ptid)); in thread_apply_command() 1279 if (is_exited (inferior_ptid)) in thread_command() 1281 pid_to_thread_id (inferior_ptid), in thread_command() [all …]
|
H A D | inf-ptrace.c | 48 pid = ptid_get_pid (inferior_ptid); in inf_ptrace_follow_fork() 79 inferior_ptid = pid_to_ptid (fpid); in inf_ptrace_follow_fork() 84 add_thread_silent (inferior_ptid); in inf_ptrace_follow_fork() 240 inferior_ptid = pid_to_ptid (pid); in inf_ptrace_attach() 244 add_thread_silent (inferior_ptid); in inf_ptrace_attach() 301 inferior_ptid = null_ptid; in inf_ptrace_detach() 352 pid = ptid_get_pid (inferior_ptid); in inf_ptrace_resume() 411 return inferior_ptid; in inf_ptrace_wait() 734 pid = ptid_get_lwp (inferior_ptid); in inf_ptrace_fetch_register() 736 pid = ptid_get_pid (inferior_ptid); in inf_ptrace_fetch_register() [all …]
|
H A D | bsd-uthread.c | 288 CORE_ADDR addr = ptid_get_tid (inferior_ptid); in bsd_uthread_fetch_registers() 316 CORE_ADDR addr = ptid_get_tid (inferior_ptid); in bsd_uthread_store_registers() 387 if (ptid_get_tid (inferior_ptid) == 0 in bsd_uthread_wait() 389 thread_change_ptid (inferior_ptid, ptid); in bsd_uthread_wait() 412 CORE_ADDR addr = ptid_get_tid (inferior_ptid); in bsd_uthread_thread_alive() 432 pid_t pid = ptid_get_pid (inferior_ptid); in bsd_uthread_find_new_threads() 446 if (ptid_get_tid (inferior_ptid) == 0) in bsd_uthread_find_new_threads() 447 thread_change_ptid (inferior_ptid, ptid); in bsd_uthread_find_new_threads()
|
H A D | infrun.c | 514 parent = inferior_ptid; in follow_fork() 763 inferior_ptid = null_ptid; in handle_vfork_child_exec_or_exit() 1374 inferior_ptid = ptid; in displaced_step_prepare() 1436 inferior_ptid = ptid; in write_memory_ptid() 1592 inferior_ptid = new_ptid; in infrun_thread_ptid_changed() 1904 resume_ptid = inferior_ptid; in resume() 1919 resume_ptid = inferior_ptid; in resume() 3415 inferior_ptid = ecs->ptid; in handle_inferior_event() 3593 ecs->ptid = inferior_ptid; in handle_inferior_event() 3739 inferior_ptid = ecs->ptid; in handle_inferior_event() [all …]
|
H A D | corelow.c | 199 int pid = ptid_get_pid (inferior_ptid); in core_close() 200 inferior_ptid = null_ptid; /* Avoid confusion from thread in core_close() 271 inferior_ptid = ptid; /* Yes, make it current. */ in add_to_thread_list() 376 inferior_ptid = null_ptid; in core_open() 392 if (ptid_equal (inferior_ptid, null_ptid)) in core_open() 405 inferior_ptid = pid_to_ptid (CORELOW_PID); in core_open() 406 add_thread_silent (inferior_ptid); in core_open() 517 if (ptid_get_lwp (inferior_ptid)) in get_core_register_section() 519 ptid_get_lwp (inferior_ptid)); in get_core_register_section() 668 if (ptid_get_lwp (inferior_ptid)) in get_core_siginfo() [all …]
|
H A D | infcmd.c | 135 ptid_t inferior_ptid; variable 678 || is_exited (inferior_ptid)) in ensure_valid_thread() 707 if (is_running (inferior_ptid)) in ensure_not_running() 793 tp = find_thread_ptid (inferior_ptid); in continue_command() 914 if (in_thread_list (inferior_ptid)) in step_1() 1556 && is_stopped (inferior_ptid)) in finish_command_continuation() 1822 ptid = inferior_ptid; in program_info() 2597 target_stop (inferior_ptid); in attach_command() 2669 if (is_executing (inferior_ptid)) in notice_new_inferior() 2676 target_stop (inferior_ptid); in notice_new_inferior() [all …]
|
H A D | inf-loop.c | 76 if (!ptid_equal (inferior_ptid, null_ptid)) in inferior_event_handler() 88 && !ptid_equal (inferior_ptid, null_ptid)) in inferior_event_handler() 99 && !ptid_equal (inferior_ptid, null_ptid)) in inferior_event_handler()
|
H A D | i386-nat.c | 305 i386_forget_process (ptid_get_pid (inferior_ptid)); in i386_cleanup_dregs() 570 = i386_debug_reg_state (ptid_get_pid (inferior_ptid)); in i386_update_inferior_debug_regs() 596 = i386_debug_reg_state (ptid_get_pid (inferior_ptid)); in i386_insert_watchpoint() 634 = i386_debug_reg_state (ptid_get_pid (inferior_ptid)); in i386_remove_watchpoint() 668 = i386_debug_reg_state (ptid_get_pid (inferior_ptid)); in i386_region_ok_for_watchpoint() 686 = i386_debug_reg_state (ptid_get_pid (inferior_ptid)); in i386_stopped_data_address() 772 = i386_debug_reg_state (ptid_get_pid (inferior_ptid)); in i386_insert_hw_breakpoint() 798 = i386_debug_reg_state (ptid_get_pid (inferior_ptid)); in i386_remove_hw_breakpoint()
|
H A D | fbsd-nat.c | 96 pid_t pid = ptid_get_pid (inferior_ptid); in fbsd_find_memory_regions() 147 && ptid_get_pid (info->ptid) == ptid_get_pid (inferior_ptid)) in find_signalled_thread() 192 ptid_get_pid (inferior_ptid), in fbsd_make_corefile_notes()
|
H A D | fork-child.c | 388 inferior_ptid = pid_to_ptid (pid); in fork_inferior() 396 add_thread_silent (inferior_ptid); in fork_inferior() 420 resume_ptid = pid_to_ptid (ptid_get_pid (inferior_ptid)); in startup_inferior()
|
H A D | sparc-ravenscar-thread.c | 115 thread_descriptor_address = (CORE_ADDR) ptid_get_tid (inferior_ptid); in sparc_ravenscar_fetch_registers() 165 ptid_get_tid (inferior_ptid) + sparc_register_offsets [regnum]; in sparc_ravenscar_store_registers()
|
H A D | ppc-ravenscar-thread.c | 158 thread_descriptor_address = (CORE_ADDR) ptid_get_tid (inferior_ptid); in ppc_ravenscar_generic_fetch_registers() 197 = ptid_get_tid (inferior_ptid) + reg_info->context_offsets [regnum]; in ppc_ravenscar_generic_store_registers()
|
H A D | inflow.c | 264 terminal_init_inferior_with_pgrp (PIDGET (inferior_ptid)); in terminal_init_inferior() 577 if (ptid_equal (inferior_ptid, null_ptid)) in child_terminal_info() 769 kill (PIDGET (inferior_ptid), SIGINT); in pass_signal()
|
H A D | remote.c | 1548 inferior_ptid = currthread; in remote_notice_new_inferior() 3020 inferior_ptid = null_ptid; in remote_close() 3284 inferior_ptid = null_ptid; in add_current_inferior_and_thread() 3304 inferior_ptid = ptid; in add_current_inferior_and_thread() 3319 add_thread_silent (inferior_ptid); in add_current_inferior_and_thread() 4505 inferior_ptid = thread->ptid; in extended_remote_attach_1() 4507 inferior_ptid = pid_to_ptid (pid); in extended_remote_attach_1() 4515 inferior_ptid = remote_current_thread (inferior_ptid); in extended_remote_attach_1() 4940 target_stop (inferior_ptid); in async_remote_interrupt() 5743 ptid = inferior_ptid; in process_stop_reply() [all …]
|
H A D | inferior.c | 711 if (inf->pid != ptid_get_pid (inferior_ptid)) in inferior_command() 723 pid_to_thread_id (inferior_ptid), in inferior_command() 724 target_pid_to_str (inferior_ptid)); in inferior_command() 736 if (inf->pid != 0 && is_running (inferior_ptid)) in inferior_command()
|
H A D | inline-frame.c | 214 struct inline_state *state = find_inline_frame_state (inferior_ptid); in inline_frame_sniffer() 408 inline_count += inline_skipped_frames (inferior_ptid); in frame_inlined_callees()
|
H A D | bsd-kvm.c | 99 inferior_ptid = bsd_kvm_ptid; in bsd_kvm_open() 117 inferior_ptid = null_ptid; in bsd_kvm_close()
|
H A D | frame.c | 1318 if (ptid_equal (inferior_ptid, null_ptid)) in get_current_frame() 1320 if (is_exited (inferior_ptid)) in get_current_frame() 1322 if (is_executing (inferior_ptid)) in get_current_frame() 1356 if (ptid_equal (inferior_ptid, null_ptid)) in has_stack_frames() 1360 if (is_exited (inferior_ptid)) in has_stack_frames() 1364 if (is_executing (inferior_ptid)) in has_stack_frames() 2105 sym = inline_skipped_symbol (inferior_ptid); in find_frame_sal()
|
/dragonfly/contrib/gdb-7/gdb/mi/ |
H A D | mi-interp.c | 489 pid_to_thread_id (inferior_ptid)); in mi_on_normal_stop() 496 pid_to_thread_id (inferior_ptid)); in mi_on_normal_stop() 502 core = target_core_of_thread (inferior_ptid); in mi_on_normal_stop() 520 if (!ptid_equal (inferior_ptid, null_ptid)) in mi_about_to_proceed()
|
/dragonfly/contrib/gdb-7/gdb/python/ |
H A D | py-threadevent.c | 33 thread = (PyObject *) find_thread_object (inferior_ptid); in get_event_thread()
|
/dragonfly/gnu/usr.bin/gdb/kgdb/ |
H A D | trgt.c | 173 inferior_ptid = ptid_build(curkthr->pid, curkthr->lwpid, in kgdb_trgt_open() 189 inferior_ptid = null_ptid; in kgdb_trgt_close()
|
/dragonfly/contrib/gdb-7/gdb/tui/ |
H A D | tui-stack.c | 79 if (ptid_equal (inferior_ptid, null_ptid)) in tui_make_status_line() 82 pid_name = target_pid_to_str (inferior_ptid); in tui_make_status_line()
|