GDB (xrefs)
|
#include <string>
#include "gdbsupport/function-view.h"
Go to the source code of this file.
Macros | |
#define | START_INFERIOR_TRAPS_EXPECTED 1 |
Functions | |
pid_t | fork_inferior (const char *exec_file_arg, const std::string &allargs, char **env, void(*traceme_fun)(), gdb::function_view< void(int)> init_trace_fun, void(*pre_trace_fun)(), const char *shell_file_arg, void(*exec_fun)(const char *file, char *const *argv, char *const *env)) |
ptid_t | startup_inferior (process_stratum_target *proc_target, pid_t pid, int ntraps, struct target_waitstatus *mystatus, ptid_t *myptid) |
void | prefork_hook (const char *args) |
void | postfork_hook (pid_t pid) |
void | postfork_child_hook () |
void | gdb_flush_out_err () |
void | trace_start_error (const char *fmt,...) ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF(1 |
void void | trace_start_error_with_name (const char *string) ATTRIBUTE_NORETURN |
#define START_INFERIOR_TRAPS_EXPECTED 1 |
Definition at line 32 of file fork-inferior.h.
Referenced by gnu_nat_target::create_inferior(), inf_ptrace_target::create_inferior(), procfs_target::procfs_init_inferior(), and darwin_nat_target::ptrace_him().
|
extern |
Definition at line 268 of file fork-inferior.c.
References execv_argv::argv(), environ, gdb_flush_out_err(), get_exec_file(), get_inferior_cwd(), pid, postfork_child_hook(), postfork_hook(), prefork_hook(), and trace_start_error_with_name().
Referenced by gnu_nat_target::create_inferior(), inf_ptrace_target::create_inferior(), procfs_target::create_inferior(), and darwin_nat_target::create_inferior().
|
extern |
Definition at line 49 of file fork-child.c.
References gdb_flush(), ui::m_gdb_stderr, ui::m_gdb_stdout, and main_ui.
Referenced by fork_inferior(), and trace_start_error().
|
extern |
Definition at line 93 of file fork-child.c.
References create_tty_session(), current_ui, main_ui, and new_tty().
Referenced by fork_inferior().
|
extern |
Definition at line 77 of file fork-child.c.
References current_inferior(), current_ui, inferior_appeared(), new_tty_postfork(), pid, and saved_ui.
Referenced by fork_inferior().
|
extern |
Definition at line 62 of file fork-child.c.
References current_inferior(), current_ui, new_tty_prefork(), and saved_ui.
Referenced by fork_inferior().
|
extern |
Definition at line 451 of file fork-inferior.c.
References target_waitstatus::exit_status, get_exec_wrapper(), target_terminal::inferior(), target_terminal::init(), target_waitstatus::kind(), target_terminal::ours(), pid, resume_signal, target_waitstatus::sig, switch_to_thread(), target_continue(), target_continue_no_signal(), target_mourn_inferior(), target_supports_multi_process(), target_wait(), TARGET_WAITKIND_EXECD, TARGET_WAITKIND_EXITED, TARGET_WAITKIND_FORKED, TARGET_WAITKIND_IGNORE, TARGET_WAITKIND_LOADED, TARGET_WAITKIND_SIGNALLED, TARGET_WAITKIND_SPURIOUS, TARGET_WAITKIND_STOPPED, TARGET_WAITKIND_SYSCALL_ENTRY, TARGET_WAITKIND_SYSCALL_RETURN, and TARGET_WAITKIND_VFORKED.
Referenced by gdb_startup_inferior().
|
extern |
|
extern |
Definition at line 590 of file fork-inferior.c.
References trace_start_error().
Referenced by darwin_ptrace_me(), fork_inferior(), gnu_ptrace_me(), and inf_ptrace_me().