GDBserver
|
Go to the source code of this file.
Macros | |
#define | WIFEXITED(w) (((w)&0377) == 0) |
#define | WIFSIGNALED(w) (((w)&0377) != 0177 && ((w)&~0377) == 0) |
#define | WIFSTOPPED(w) (((w)&0377) == 0177) |
#define | WEXITSTATUS(w) (((w) >> 8) & 0377) /* same as WRETCODE */ |
#define | WTERMSIG(w) ((w) & 0177) |
#define | WSTOPSIG WEXITSTATUS |
#define | WSETEXIT(w, status) ((w) = (0 | ((status) << 8))) |
#define | WSETSTOP(w, sig) ((w) = (0177 | ((sig) << 8))) |
#define | WNOHANG 1 /* Don't block waiting. */ |
#define | WUNTRACED 2 /* Report status of stopped children. */ |
#define | __WCLONE 0x80000000 /* Wait for cloned process. */ |
#define __WCLONE 0x80000000 /* Wait for cloned process. */ |
Definition at line 110 of file gdb_wait.h.
Referenced by kill_wait_lwp(), and my_waitpid().
#define WEXITSTATUS | ( | w | ) | (((w) >> 8) & 0377) /* same as WRETCODE */ |
Definition at line 67 of file gdb_wait.h.
Referenced by linux_wait_1(), lynx_wait_1(), mark_lwp_dead(), mnsh_maybe_mourn_peer(), nto_wait(), spu_wait(), and status_to_str().
#define WIFEXITED | ( | w | ) | (((w)&0377) == 0) |
Definition at line 44 of file gdb_wait.h.
Referenced by linux_join(), linux_low_filter_event(), linux_wait_1(), lwp_is_marked_dead(), lynx_wait_1(), mark_lwp_dead(), mnsh_maybe_mourn_peer(), spu_join(), spu_kill(), and spu_wait().
#define WIFSIGNALED | ( | w | ) | (((w)&0377) != 0177 && ((w)&~0377) == 0) |
Definition at line 48 of file gdb_wait.h.
Referenced by linux_join(), linux_low_filter_event(), linux_ptrace_test_ret_to_nx(), linux_wait_1(), lwp_is_marked_dead(), lynx_wait_1(), mark_lwp_dead(), mnsh_maybe_mourn_peer(), spu_join(), spu_kill(), and status_to_str().
#define WIFSTOPPED | ( | w | ) | (((w)&0377) == 0177) |
Definition at line 62 of file gdb_wait.h.
Referenced by get_detach_signal(), handle_extended_wait(), kill_wait_lwp(), linux_check_ptrace_features(), linux_low_filter_event(), linux_ptrace_test_ret_to_nx(), linux_resume_one_thread(), linux_test_for_tracefork(), linux_wait_1(), linux_wait_for_event_filtered(), linux_wstatus_maybe_breakpoint(), lynx_wait_1(), maybe_move_out_of_jump_pad(), spu_wait(), and status_to_str().
#define WNOHANG 1 /* Don't block waiting. */ |
Definition at line 102 of file gdb_wait.h.
Referenced by linux_wait_1(), linux_wait_for_event_filtered(), lynx_waitpid(), mnsh_maybe_mourn_peer(), my_waitpid(), nto_wait(), and spu_wait().
#define WSETEXIT | ( | w, | |
status | |||
) | ((w) = (0 | ((status) << 8))) |
Definition at line 84 of file gdb_wait.h.
#define WSETSTOP | ( | w, | |
sig | |||
) | ((w) = (0177 | ((sig) << 8))) |
Definition at line 92 of file gdb_wait.h.
#define WSTOPSIG WEXITSTATUS |
Definition at line 75 of file gdb_wait.h.
Referenced by dequeue_one_deferred_signal(), enqueue_one_deferred_signal(), get_detach_signal(), handle_extended_wait(), linux_low_filter_event(), linux_ptrace_test_ret_to_nx(), linux_resume_one_thread(), linux_set_resume_request(), linux_wait_1(), linux_wstatus_maybe_breakpoint(), lynx_wait_1(), maybe_move_out_of_jump_pad(), move_out_of_jump_pad_callback(), spu_wait(), and status_to_str().
#define WTERMSIG | ( | w | ) | ((w) & 0177) |
Definition at line 71 of file gdb_wait.h.
Referenced by linux_ptrace_test_ret_to_nx(), linux_wait_1(), lynx_wait_1(), mark_lwp_dead(), mnsh_maybe_mourn_peer(), spu_wait(), and status_to_str().
#define WUNTRACED 2 /* Report status of stopped children. */ |
Definition at line 106 of file gdb_wait.h.
Referenced by lynx_waitpid().