GDB (xrefs)
|
#include "defs.h"
#include "gdbcore.h"
#include "inferior.h"
#include "regcache.h"
#include "regset.h"
#include "gdbthread.h"
#include "gdb_wait.h"
#include <sys/types.h>
#include <sys/procfs.h>
#include <sys/ptrace.h>
#include <sys/sysctl.h>
#include "elf-bfd.h"
#include "fbsd-nat.h"
Go to the source code of this file.
Functions | |
static char * | fbsd_pid_to_exec_file (struct target_ops *self, int pid) |
static int | fbsd_read_mapping (FILE *mapfile, unsigned long *start, unsigned long *end, char *protection) |
static int | fbsd_find_memory_regions (struct target_ops *self, find_memory_region_ftype func, void *obfd) |
void | fbsd_nat_add_target (struct target_ops *t) |
|
static |
Definition at line 155 of file fbsd-nat.c.
References _, do_cleanups(), error(), fbsd_read_mapping(), fprintf_filtered(), func, gdb_stdout, inferior_ptid, info_verbose, make_cleanup(), make_cleanup_fclose(), paddress(), ptid_get_pid(), read(), size, target_gdbarch(), xfree(), and xstrprintf().
Referenced by fbsd_nat_add_target().
void fbsd_nat_add_target | ( | struct target_ops * | t | ) |
Definition at line 491 of file fbsd-nat.c.
References add_target(), fbsd_find_memory_regions(), fbsd_pid_to_exec_file(), target_ops::to_find_memory_regions, target_ops::to_follow_fork, target_ops::to_insert_exec_catchpoint, target_ops::to_insert_fork_catchpoint, target_ops::to_insert_vfork_catchpoint, target_ops::to_pid_to_exec_file, target_ops::to_post_attach, target_ops::to_post_startup_inferior, target_ops::to_remove_exec_catchpoint, target_ops::to_remove_fork_catchpoint, target_ops::to_remove_vfork_catchpoint, and target_ops::to_wait.
Referenced by _initialize_amd64fbsd_nat(), _initialize_i386fbsd_nat(), _initialize_ppcfbsd_nat(), and _initialize_sparc64fbsd_nat().
|
static |
Definition at line 43 of file fbsd-nat.c.
References len, name, pid, and xsnprintf().
Referenced by fbsd_nat_add_target().
|
static |
Definition at line 130 of file fbsd-nat.c.
Referenced by fbsd_find_memory_regions().