GDB (xrefs)
|
#include "defs.h"
#include "arch-utils.h"
#include "frame.h"
#include "gdbcore.h"
#include "frame-unwind.h"
#include "gdbtypes.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"
#include "symtab.h"
#include "target.h"
#include "trad-frame.h"
#include "ppc-tdep.h"
#include "ppc64-tdep.h"
#include "ppc-fbsd-tdep.h"
#include "fbsd-tdep.h"
#include "solib-svr4.h"
#include "inferior.h"
Go to the source code of this file.
Functions | |
const struct regset * | ppc_fbsd_gregset (int wordsize) |
const struct regset * | ppc_fbsd_fpregset (void) |
static void | ppcfbsd_iterate_over_regset_sections (struct gdbarch *gdbarch, iterate_over_regset_sections_cb *cb, void *cb_data, const struct regcache *regcache) |
static int | ppcfbsd_sigtramp_frame_sniffer (const struct frame_unwind *self, frame_info_ptr this_frame, void **this_cache) |
static struct trad_frame_cache * | ppcfbsd_sigtramp_frame_cache (frame_info_ptr this_frame, void **this_cache) |
static void | ppcfbsd_sigtramp_frame_this_id (frame_info_ptr this_frame, void **this_cache, struct frame_id *this_id) |
static struct value * | ppcfbsd_sigtramp_frame_prev_register (frame_info_ptr this_frame, void **this_cache, int regnum) |
static enum return_value_convention | ppcfbsd_return_value (struct gdbarch *gdbarch, struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) |
static CORE_ADDR | ppcfbsd_get_thread_local_address (struct gdbarch *gdbarch, ptid_t ptid, CORE_ADDR lm_addr, CORE_ADDR offset) |
static void | ppcfbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) |
void | _initialize_ppcfbsd_tdep () |
Variables | |
static const struct ppc_reg_offsets | ppc32_fbsd_reg_offsets |
static const struct ppc_reg_offsets | ppc64_fbsd_reg_offsets |
static const struct regset | ppc32_fbsd_gregset |
static const struct regset | ppc64_fbsd_gregset |
static const struct regset | ppc32_fbsd_fpregset |
static const int | ppcfbsd_page_size = 4096 |
static const int | ppcfbsd_sigreturn_offset [] |
static const struct frame_unwind | ppcfbsd_sigtramp_frame_unwind |
void _initialize_ppcfbsd_tdep | ( | ) |
Definition at line 367 of file ppc-fbsd-tdep.c.
References GDB_OSABI_FREEBSD, gdbarch_register_osabi(), and ppcfbsd_init_abi().
const struct regset * ppc_fbsd_fpregset | ( | void | ) |
Definition at line 116 of file ppc-fbsd-tdep.c.
References ppc32_fbsd_fpregset.
Referenced by ppc_fbsd_nat_target::fetch_registers(), fill_fpregset(), and supply_fpregset().
const struct regset * ppc_fbsd_gregset | ( | int | wordsize | ) |
Definition at line 110 of file ppc-fbsd-tdep.c.
References ppc32_fbsd_gregset, and ppc64_fbsd_gregset.
Referenced by fill_gregset(), and supply_gregset().
|
static |
Definition at line 287 of file ppc-fbsd-tdep.c.
References readable_regcache::cooked_read(), current_inferior(), fbsd_get_thread_local_address(), get_thread_arch_regcache(), lm_addr(), PPC_R0_REGNUM, regcache::ptid(), reg_buffer::regcache, target_fetch_registers(), and ppc_gdbarch_tdep::wordsize.
Referenced by ppcfbsd_init_abi().
|
static |
Definition at line 320 of file ppc-fbsd-tdep.c.
References fbsd_init_abi(), find_solib_trampoline_target(), floatformats_ieee_double, frame_unwind_append_unwinder(), ppc64_convert_from_func_ptr_addr(), ppc64_elf_make_msymbol_special(), ppc64_skip_trampoline_code(), ppcfbsd_get_thread_local_address(), ppcfbsd_iterate_over_regset_sections(), ppcfbsd_return_value(), ppcfbsd_sigtramp_frame_unwind, set_gdbarch_convert_from_func_ptr_addr(), set_gdbarch_elf_make_msymbol_special(), set_gdbarch_fetch_tls_load_module_address(), set_gdbarch_gcore_bfd_target(), set_gdbarch_get_thread_local_address(), set_gdbarch_iterate_over_regset_sections(), set_gdbarch_long_double_bit(), set_gdbarch_long_double_format(), set_gdbarch_return_value(), set_gdbarch_skip_trampoline_code(), set_solib_svr4_fetch_link_map_offsets(), svr4_fetch_objfile_link_map(), svr4_ilp32_fetch_link_map_offsets(), svr4_lp64_fetch_link_map_offsets(), and ppc_gdbarch_tdep::wordsize.
Referenced by _initialize_ppcfbsd_tdep().
|
static |
Definition at line 124 of file ppc-fbsd-tdep.c.
References ppc32_fbsd_fpregset, ppc32_fbsd_gregset, ppc64_fbsd_gregset, and ppc_gdbarch_tdep::wordsize.
Referenced by ppcfbsd_init_abi().
|
static |
Definition at line 276 of file ppc-fbsd-tdep.c.
References ppc_sysv_abi_broken_return_value().
Referenced by ppcfbsd_init_abi().
|
static |
Definition at line 200 of file ppc-fbsd-tdep.c.
References frame_id_build(), func, gdbarch_pc_regnum(), gdbarch_sp_regnum(), get_frame_arch(), get_frame_pc(), get_frame_register_unsigned(), ppc_gdbarch_tdep::ppc_cr_regnum, ppc_gdbarch_tdep::ppc_ctr_regnum, ppc_gdbarch_tdep::ppc_gp0_regnum, PPC_INSN_SIZE, ppc_gdbarch_tdep::ppc_lr_regnum, ppc_num_gprs, ppc_gdbarch_tdep::ppc_xer_regnum, ppcfbsd_page_size, regnum, safe_frame_unwind_memory(), trad_frame_cache::this_frame, trad_frame_cache_zalloc(), trad_frame_set_id(), trad_frame_set_reg_addr(), and ppc_gdbarch_tdep::wordsize.
Referenced by ppcfbsd_sigtramp_frame_prev_register(), and ppcfbsd_sigtramp_frame_this_id().
|
static |
Definition at line 256 of file ppc-fbsd-tdep.c.
References ppcfbsd_sigtramp_frame_cache(), regnum, trad_frame_cache::this_frame, and trad_frame_get_register().
|
static |
Definition at line 152 of file ppc-fbsd-tdep.c.
References extract_unsigned_integer(), find_pc_partial_function(), gdbarch_byte_order(), get_frame_arch(), get_frame_pc(), name, PPC_INSN_SIZE, ppcfbsd_page_size, ppcfbsd_sigreturn_offset, and safe_frame_unwind_memory().
|
static |
Definition at line 246 of file ppc-fbsd-tdep.c.
References ppcfbsd_sigtramp_frame_cache(), trad_frame_cache::this_frame, trad_frame_cache::this_id, and trad_frame_get_id().
|
static |
Definition at line 103 of file ppc-fbsd-tdep.c.
Referenced by ppc_fbsd_fpregset(), and ppcfbsd_iterate_over_regset_sections().
|
static |
Definition at line 87 of file ppc-fbsd-tdep.c.
Referenced by ppc_fbsd_gregset(), and ppcfbsd_iterate_over_regset_sections().
|
static |
Definition at line 43 of file ppc-fbsd-tdep.c.
|
static |
Definition at line 95 of file ppc-fbsd-tdep.c.
Referenced by ppc_fbsd_gregset(), and ppcfbsd_iterate_over_regset_sections().
|
static |
Definition at line 65 of file ppc-fbsd-tdep.c.
|
static |
Definition at line 140 of file ppc-fbsd-tdep.c.
Referenced by ppcfbsd_sigtramp_frame_cache(), and ppcfbsd_sigtramp_frame_sniffer().
|
static |
Definition at line 144 of file ppc-fbsd-tdep.c.
Referenced by ppcfbsd_sigtramp_frame_sniffer().
|
static |
Definition at line 265 of file ppc-fbsd-tdep.c.
Referenced by ppcfbsd_init_abi().