GDB (xrefs)
|
#include "waitstatus.h"
Private Member Functions | |
void | reset () |
Private Attributes | ||
target_waitkind | m_kind = TARGET_WAITKIND_IGNORE | |
union { | ||
int exit_status | ||
enum gdb_signal sig | ||
ptid_t child_ptid | ||
char * execd_pathname | ||
int syscall_number | ||
} | m_value | |
Definition at line 154 of file waitstatus.h.
|
default |
|
inline |
Definition at line 161 of file waitstatus.h.
References execd_pathname, m_kind, m_value, and TARGET_WAITKIND_EXECD.
|
inline |
Definition at line 172 of file waitstatus.h.
References m_kind, m_value, and TARGET_WAITKIND_EXECD.
|
inline |
Definition at line 215 of file waitstatus.h.
References reset().
|
inline |
Definition at line 370 of file waitstatus.h.
References m_kind, m_value, TARGET_WAITKIND_FORKED, and TARGET_WAITKIND_VFORKED.
|
inline |
Definition at line 377 of file waitstatus.h.
References m_kind, m_value, and TARGET_WAITKIND_EXECD.
|
inline |
Definition at line 356 of file waitstatus.h.
References m_kind, m_value, TARGET_WAITKIND_EXITED, and TARGET_WAITKIND_THREAD_EXITED.
|
inline |
Definition at line 345 of file waitstatus.h.
References m_kind.
Referenced by adjust_pc_after_break(), exec_catchpoint::breakpoint_hit(), fork_catchpoint::breakpoint_hit(), solib_catchpoint::breakpoint_hit(), signal_catchpoint::breakpoint_hit(), syscall_catchpoint::breakpoint_hit(), ranged_breakpoint::breakpoint_hit(), code_breakpoint::breakpoint_hit(), fbsd_nat_target::detach(), fbsd_nat_target::detach_fork_children(), detach_one_lwp(), do_target_wait(), fetch_inferior_event(), follow_fork(), follow_fork_inferior(), get_detach_signal(), windows_nat::windows_process_info::handle_exception(), handle_inferior_event(), handle_one(), handle_signal_stop(), if(), gnu_nat_target::inf_signal(), kill_unfollowed_fork_children(), linux_nat_wait_1(), lwp_status_pending_p(), mark_non_executing_threads(), normal_stop(), pending_status_str(), syscall_catchpoint::print_it(), remote_target::print_one_stopped_thread(), print_stop_location(), proc_set_current_signal(), remote_target::process_initial_stop_replies(), remote_target::remote_detach_1(), remote_notif_stop_ack(), remote_target::remote_parse_stop_reply(), save_waitstatus(), startup_inferior(), darwin_nat_target::stop_inferior(), thread_pending_fork_status(), to_string(), amd_dbgapi_target::wait(), gnu_nat_target::wait(), linux_nat_target::wait(), thread_db_target::wait(), nbsd_nat_target::wait(), obsd_nat_target::wait(), sol_thread_target::wait(), windows_nat_target::wait(), and wait_one().
|
inline |
Definition at line 185 of file waitstatus.h.
References execd_pathname, m_kind, m_value, reset(), and TARGET_WAITKIND_EXECD.
|
inline |
Definition at line 199 of file waitstatus.h.
References m_kind, m_value, reset(), and TARGET_WAITKIND_EXECD.
|
inlineprivate |
Definition at line 398 of file waitstatus.h.
References m_kind, m_value, TARGET_WAITKIND_EXECD, TARGET_WAITKIND_IGNORE, and xfree().
Referenced by operator=(), operator=(), set_execd(), set_exited(), set_forked(), set_ignore(), set_loaded(), set_no_history(), set_no_resumed(), set_signalled(), set_spurious(), set_stopped(), set_syscall_entry(), set_syscall_return(), set_thread_created(), set_thread_exited(), set_vfork_done(), set_vforked(), and ~target_waitstatus().
|
inline |
Definition at line 269 of file waitstatus.h.
References m_kind, m_value, reset(), and TARGET_WAITKIND_EXECD.
Referenced by linux_handle_extended_wait(), and nbsd_nat_target::wait().
|
inline |
Definition at line 222 of file waitstatus.h.
References exit_status, m_kind, m_value, reset(), and TARGET_WAITKIND_EXITED.
Referenced by windows_nat_target::get_windows_debug_event(), host_status_to_waitstatus(), and nto_procfs_target::wait().
|
inline |
Definition at line 253 of file waitstatus.h.
References child_ptid, m_kind, m_value, reset(), and TARGET_WAITKIND_FORKED.
Referenced by linux_handle_extended_wait(), obsd_nat_target::wait(), and rs6000_nat_target::wait().
|
inline |
Definition at line 307 of file waitstatus.h.
References m_kind, reset(), and TARGET_WAITKIND_IGNORE.
Referenced by btrace_step_again(), check_ptrace_stopped_lwp_gone(), remote_target::discard_pending_stop_replies(), do_target_wait(), filter_exit_event(), windows_nat_target::get_windows_debug_event(), linux_handle_extended_wait(), linux_nat_wait_1(), amd_dbgapi_target::wait(), inf_ptrace_target::wait(), and rs6000_nat_target::wait().
|
inline |
Definition at line 246 of file waitstatus.h.
References m_kind, reset(), and TARGET_WAITKIND_LOADED.
Referenced by windows_nat_target::get_windows_debug_event(), and rs6000_nat_target::wait().
|
inline |
Definition at line 314 of file waitstatus.h.
References m_kind, reset(), and TARGET_WAITKIND_NO_HISTORY.
Referenced by btrace_step_no_history().
|
inline |
Definition at line 321 of file waitstatus.h.
References m_kind, reset(), and TARGET_WAITKIND_NO_RESUMED.
Referenced by btrace_step_no_resumed(), linux_nat_wait_1(), inf_ptrace_target::wait(), and wait_one().
|
inline |
Definition at line 238 of file waitstatus.h.
References m_kind, m_value, reset(), sig, and TARGET_WAITKIND_SIGNALLED.
Referenced by windows_nat_target::get_windows_debug_event(), host_status_to_waitstatus(), inf_task_died_status(), and nto_procfs_target::wait().
|
inline |
Definition at line 300 of file waitstatus.h.
References m_kind, reset(), and TARGET_WAITKIND_SPURIOUS.
Referenced by btrace_step_spurious(), do_target_wait_1(), follow_fork_inferior(), windows_nat_target::get_windows_debug_event(), windows_nat::windows_process_info::handle_exception(), gnu_nat_target::inf_clear_wait(), linux_handle_extended_wait(), make_inf(), thread_info::thread_info(), nbsd_nat_target::wait(), nto_procfs_target::wait(), and rs6000_nat_target::wait().
|
inline |
Definition at line 230 of file waitstatus.h.
References m_kind, m_value, reset(), sig, and TARGET_WAITKIND_STOPPED.
Referenced by btrace_step_stopped(), btrace_step_stopped_on_request(), windows_nat::windows_process_info::handle_exception(), handle_inferior_event(), windows_per_inferior::handle_output_debug_string(), handle_stop_requested(), host_status_to_waitstatus(), infrun_thread_stop_requested(), linux_nat_wait_1(), remote_target::print_one_stopped_thread(), remote_target::process_initial_stop_replies(), process_one_event(), remote_target::remote_stop_ns(), run_command_1(), S_exception_raise_request(), set_last_target_status_stopped(), and nto_procfs_target::wait().
|
inline |
Definition at line 284 of file waitstatus.h.
References m_kind, m_value, reset(), syscall_number, and TARGET_WAITKIND_SYSCALL_ENTRY.
Referenced by linux_handle_syscall_trap(), and nbsd_nat_target::wait().
|
inline |
Definition at line 292 of file waitstatus.h.
References m_kind, m_value, reset(), syscall_number, and TARGET_WAITKIND_SYSCALL_RETURN.
Referenced by linux_handle_syscall_trap(), and nbsd_nat_target::wait().
|
inline |
Definition at line 328 of file waitstatus.h.
References m_kind, reset(), and TARGET_WAITKIND_THREAD_CREATED.
Referenced by linux_handle_extended_wait(), and nbsd_nat_target::wait().
|
inline |
Definition at line 335 of file waitstatus.h.
References exit_status, m_kind, m_value, reset(), and TARGET_WAITKIND_THREAD_EXITED.
Referenced by filter_exit_event(), process_one_event(), and nbsd_nat_target::wait().
|
inline |
Definition at line 277 of file waitstatus.h.
References m_kind, reset(), and TARGET_WAITKIND_VFORK_DONE.
Referenced by linux_handle_extended_wait().
|
inline |
Definition at line 261 of file waitstatus.h.
References child_ptid, m_kind, m_value, reset(), and TARGET_WAITKIND_VFORKED.
Referenced by linux_handle_extended_wait().
|
inline |
Definition at line 363 of file waitstatus.h.
References m_kind, m_value, TARGET_WAITKIND_SIGNALLED, and TARGET_WAITKIND_STOPPED.
|
inline |
Definition at line 383 of file waitstatus.h.
References m_kind, m_value, TARGET_WAITKIND_SYSCALL_ENTRY, and TARGET_WAITKIND_SYSCALL_RETURN.
std::string target_waitstatus::to_string | ( | ) | const |
Definition at line 26 of file waitstatus.c.
References child_ptid, execd_pathname, exit_status, kind(), sig, TARGET_WAITKIND_EXECD, TARGET_WAITKIND_EXITED, TARGET_WAITKIND_FORKED, TARGET_WAITKIND_IGNORE, TARGET_WAITKIND_LOADED, TARGET_WAITKIND_NO_HISTORY, TARGET_WAITKIND_NO_RESUMED, TARGET_WAITKIND_SIGNALLED, TARGET_WAITKIND_SPURIOUS, TARGET_WAITKIND_STOPPED, target_waitkind_str(), TARGET_WAITKIND_SYSCALL_ENTRY, TARGET_WAITKIND_SYSCALL_RETURN, TARGET_WAITKIND_THREAD_CREATED, TARGET_WAITKIND_THREAD_EXITED, TARGET_WAITKIND_VFORK_DONE, TARGET_WAITKIND_VFORKED, and to_string().
Referenced by clear_proceed_status_thread(), remote_target::discard_pending_stop_replies(), do_target_wait_1(), handle_inferior_event(), handle_one(), pending_status_str(), print_target_wait_results(), resume_1(), save_waitstatus(), and to_string().
ptid_t target_waitstatus::child_ptid |
Definition at line 416 of file waitstatus.h.
Referenced by fork_catchpoint::breakpoint_hit(), fbsd_nat_target::detach(), fbsd_nat_target::detach_fork_children(), detach_one_lwp(), follow_fork(), follow_fork_inferior(), handle_inferior_event(), remote_target::kill_new_fork_children(), kill_unfollowed_fork_children(), linux_handle_extended_wait(), remote_target::remote_detach_1(), remote_target::remove_new_fork_children(), set_forked(), set_vforked(), to_string(), and obsd_nat_target::wait().
char* target_waitstatus::execd_pathname |
Definition at line 418 of file waitstatus.h.
Referenced by exec_catchpoint::breakpoint_hit(), handle_inferior_event(), operator=(), target_waitstatus(), and to_string().
int target_waitstatus::exit_status |
Definition at line 412 of file waitstatus.h.
Referenced by handle_inferior_event(), set_exited(), set_thread_exited(), startup_inferior(), and to_string().
|
private |
Definition at line 406 of file waitstatus.h.
Referenced by child_ptid(), execd_pathname(), exit_status(), kind(), operator=(), operator=(), reset(), set_execd(), set_exited(), set_forked(), set_ignore(), set_loaded(), set_no_history(), set_no_resumed(), set_signalled(), set_spurious(), set_stopped(), set_syscall_entry(), set_syscall_return(), set_thread_created(), set_thread_exited(), set_vfork_done(), set_vforked(), sig(), syscall_number(), target_waitstatus(), and target_waitstatus().
union { ... } target_waitstatus::m_value |
Referenced by child_ptid(), execd_pathname(), exit_status(), operator=(), operator=(), reset(), set_execd(), set_exited(), set_forked(), set_signalled(), set_stopped(), set_syscall_entry(), set_syscall_return(), set_thread_exited(), set_vforked(), sig(), syscall_number(), target_waitstatus(), and target_waitstatus().
enum gdb_signal target_waitstatus::sig |
Definition at line 414 of file waitstatus.h.
Referenced by adjust_pc_after_break(), signal_catchpoint::breakpoint_hit(), ranged_breakpoint::breakpoint_hit(), code_breakpoint::breakpoint_hit(), fbsd_nat_target::detach(), get_detach_signal(), windows_nat::windows_process_info::handle_exception(), handle_inferior_event(), handle_one(), handle_signal_stop(), gnu_nat_target::inf_signal(), signal_catchpoint::print_it(), remote_target::print_one_stopped_thread(), proc_set_current_signal(), remote_target::process_initial_stop_replies(), gnu_nat_target::resume(), save_waitstatus(), set_signalled(), set_stopped(), startup_inferior(), darwin_nat_target::stop_inferior(), to_string(), gnu_nat_target::wait(), and nto_procfs_target::wait().
int target_waitstatus::syscall_number |
Definition at line 420 of file waitstatus.h.
Referenced by syscall_catchpoint::breakpoint_hit(), handle_syscall_event(), syscall_catchpoint::print_it(), set_syscall_entry(), and set_syscall_return().