|
GDB (xrefs)
|
#include "defs.h"#include "gdbcore.h"#include "inferior.h"#include "regcache.h"#include "regset.h"#include "gdbthread.h"#include "gdb_assert.h"#include "gdb_string.h"#include <sys/types.h>#include <sys/procfs.h>#include <sys/sysctl.h>#include "elf-bfd.h"#include "fbsd-nat.h"Go to the source code of this file.
Functions | |
| char * | fbsd_pid_to_exec_file (int pid) |
| static int | fbsd_read_mapping (FILE *mapfile, unsigned long *start, unsigned long *end, char *protection) |
| int | fbsd_find_memory_regions (find_memory_region_ftype func, void *obfd) |
| static int | find_signalled_thread (struct thread_info *info, void *data) |
| static enum gdb_signal | find_stop_signal (void) |
| char * | fbsd_make_corefile_notes (bfd *obfd, int *note_size) |
| int fbsd_find_memory_regions | ( | find_memory_region_ftype | func, |
| void * | obfd | ||
| ) |
Definition at line 94 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, strchr(), target_gdbarch(), xfree(), and xstrprintf().
Referenced by _initialize_amd64fbsd_nat(), _initialize_i386fbsd_nat(), _initialize_ppcfbsd_nat(), and _initialize_sparc64fbsd_nat().
| char* fbsd_make_corefile_notes | ( | bfd * | obfd, |
| int * | note_size | ||
| ) |
Definition at line 169 of file fbsd-nat.c.
References regset::collect_regset, find_stop_signal(), gdb_assert, gdbarch_regset_from_core_section(), gdbarch_regset_from_core_section_p(), get_current_regcache(), get_exec_file(), get_inferior_args(), get_regcache_arch(), inferior_ptid, make_cleanup(), ptid_get_pid(), size, and xfree().
Referenced by _initialize_amd64fbsd_nat(), _initialize_i386fbsd_nat(), _initialize_ppcfbsd_nat(), and _initialize_sparc64fbsd_nat().
| char* fbsd_pid_to_exec_file | ( | int | pid | ) |
Definition at line 40 of file fbsd-nat.c.
References len, xcalloc(), xfree(), and xstrprintf().
Referenced by _initialize_amd64fbsd_nat(), _initialize_i386fbsd_nat(), _initialize_ppcfbsd_nat(), and _initialize_sparc64fbsd_nat().
| static int fbsd_read_mapping | ( | FILE * | mapfile, |
| unsigned long * | start, | ||
| unsigned long * | end, | ||
| char * | protection | ||
| ) | [static] |
Definition at line 69 of file fbsd-nat.c.
Referenced by fbsd_find_memory_regions().
| static int find_signalled_thread | ( | struct thread_info * | info, |
| void * | data | ||
| ) | [static] |
Definition at line 144 of file fbsd-nat.c.
References inferior_ptid, thread_info::ptid, ptid_get_pid(), thread_suspend_state::stop_signal, and thread_info::suspend.
Referenced by find_stop_signal().
| static enum gdb_signal find_stop_signal | ( | void | ) | [static] |
Definition at line 154 of file fbsd-nat.c.
References find_signalled_thread(), iterate_over_threads(), thread_suspend_state::stop_signal, and thread_info::suspend.
Referenced by fbsd_make_corefile_notes().
1.7.6.1