GDB (xrefs)
|
#include "defs.h"
#include "netbsd-nat.h"
#include "nat/netbsd-nat.h"
#include "gdbthread.h"
#include "netbsd-tdep.h"
#include "inferior.h"
#include "gdbarch.h"
#include "gdbsupport/buildargv.h"
#include <sys/types.h>
#include <sys/ptrace.h>
#include <sys/sysctl.h>
#include <sys/wait.h>
Go to the source code of this file.
Functions | |
static std::string | nbsd_pid_to_cwd (int pid) |
static bool | nbsd_pid_to_kinfo_proc2 (pid_t pid, struct kinfo_proc2 *kp) |
static gdb::unique_xmalloc_ptr< char[]> | nbsd_pid_to_cmdline (int pid) |
static void | nbsd_add_threads (nbsd_nat_target *target, pid_t pid) |
static gdb::unique_xmalloc_ptr< struct kinfo_vmentry[]> | nbsd_kinfo_get_vmmap (pid_t pid, size_t *size) |
static void | nbsd_resume (nbsd_nat_target *target, ptid_t ptid, int step, enum gdb_signal signal) |
static pid_t | nbsd_wait (ptid_t ptid, struct target_waitstatus *ourstatus, target_wait_flags options) |
|
static |
Definition at line 119 of file netbsd-nat.c.
References add_thread(), netbsd_nat::for_each_thread(), in_thread_list(), inferior_ptid, pid, and thread_change_ptid().
Referenced by nbsd_nat_target::post_attach().
|
static |
Definition at line 181 of file netbsd-nat.c.
Referenced by nbsd_nat_target::find_memory_regions(), and nbsd_nat_target::info_proc().
|
static |
Definition at line 74 of file netbsd-nat.c.
Referenced by nbsd_nat_target::info_proc().
|
static |
Definition at line 47 of file netbsd-nat.c.
References pid.
Referenced by nbsd_nat_target::info_proc().
|
static |
Definition at line 61 of file netbsd-nat.c.
Referenced by nbsd_nat_target::info_proc().
|
static |
Definition at line 467 of file netbsd-nat.c.
References all_non_exited_threads(), catch_syscall_enabled(), find_inferior_ptid(), PT_CONTINUE, PT_SYSCALL, and ptrace.
Referenced by nbsd_nat_target::resume().
|
static |
Definition at line 543 of file netbsd-nat.c.
References clear_sigint_trap(), host_status_to_waitstatus(), pid, set_sigint_trap(), and status.
Referenced by nbsd_nat_target::wait().