GDB (xrefs)
|
#include "defs.h"
#include "gdbtypes.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"
#include "trad-frame.h"
#include "tramp-frame.h"
#include "ppc-tdep.h"
#include "ppcnbsd-tdep.h"
#include "solib-svr4.h"
Go to the source code of this file.
Functions | |
static void | ppcnbsd_iterate_over_regset_sections (struct gdbarch *gdbarch, iterate_over_regset_sections_cb *cb, void *cb_data, const struct regcache *regcache) |
static enum return_value_convention | ppcnbsd_return_value (struct gdbarch *gdbarch, struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) |
static void | ppcnbsd_sigtramp_cache_init (const struct tramp_frame *self, struct frame_info *this_frame, struct trad_frame_cache *this_cache, CORE_ADDR func) |
static void | ppcnbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) |
void | _initialize_ppcnbsd_tdep (void) |
Variables | |
struct ppc_reg_offsets | ppcnbsd_reg_offsets |
const struct regset | ppcnbsd_gregset |
const struct regset | ppcnbsd_fpregset |
const struct tramp_frame | ppcnbsd2_sigtramp |
static const struct tramp_frame | ppcnbsd_sigtramp |
void _initialize_ppcnbsd_tdep | ( | void | ) |
Definition at line 196 of file ppcnbsd-tdep.c.
References ppc_reg_offsets::cr_offset, ppc_reg_offsets::ctr_offset, ppc_reg_offsets::f0_offset, ppc_reg_offsets::fpscr_offset, ppc_reg_offsets::fpscr_size, GDB_OSABI_NETBSD_ELF, gdbarch_register_osabi(), ppc_reg_offsets::gpr_size, ppc_reg_offsets::lr_offset, ppc_reg_offsets::mq_offset, ppc_reg_offsets::pc_offset, ppcnbsd_init_abi(), ppcnbsd_reg_offsets, ppc_reg_offsets::ps_offset, ppc_reg_offsets::r0_offset, ppc_reg_offsets::vr0_offset, ppc_reg_offsets::vrsave_offset, ppc_reg_offsets::vscr_offset, ppc_reg_offsets::xer_offset, and ppc_reg_offsets::xr_size.
|
static |
Definition at line 173 of file ppcnbsd-tdep.c.
References ppcnbsd_iterate_over_regset_sections(), ppcnbsd_return_value(), set_gdbarch_iterate_over_regset_sections(), set_gdbarch_return_value(), set_solib_svr4_fetch_link_map_offsets(), svr4_ilp32_fetch_link_map_offsets(), and tramp_frame_prepend_unwinder().
Referenced by _initialize_ppcnbsd_tdep().
|
static |
Definition at line 57 of file ppcnbsd-tdep.c.
Referenced by ppcnbsd_init_abi().
|
static |
Definition at line 72 of file ppcnbsd-tdep.c.
References ppc_sysv_abi_broken_return_value(), RETURN_VALUE_STRUCT_CONVENTION, TYPE_CODE, TYPE_CODE_STRUCT, TYPE_CODE_UNION, TYPE_LENGTH, and TYPE_VECTOR.
Referenced by ppcnbsd_init_abi().
|
static |
Definition at line 98 of file ppcnbsd-tdep.c.
References frame_id_build(), gdbarch_pc_regnum(), gdbarch_sp_regnum(), gdbarch_tdep(), get_frame_arch(), get_frame_register_unsigned(), gdbarch_tdep::ppc_cr_regnum, gdbarch_tdep::ppc_ctr_regnum, gdbarch_tdep::ppc_gp0_regnum, gdbarch_tdep::ppc_lr_regnum, ppc_num_gprs, gdbarch_tdep::ppc_xer_regnum, ppcnbsd2_sigtramp, regnum, trad_frame_set_id(), trad_frame_set_reg_addr(), and gdbarch_tdep::wordsize.
const struct tramp_frame ppcnbsd2_sigtramp |
Definition at line 154 of file ppcnbsd-tdep.c.
Referenced by ppcnbsd_sigtramp_cache_init().
Definition at line 48 of file ppcnbsd-tdep.c.
Referenced by ppcnbsd_fetch_inferior_registers(), and ppcnbsd_store_inferior_registers().
Definition at line 42 of file ppcnbsd-tdep.c.
Referenced by ppcnbsd_fetch_inferior_registers(), and ppcnbsd_store_inferior_registers().
struct ppc_reg_offsets ppcnbsd_reg_offsets |
Definition at line 35 of file ppcnbsd-tdep.c.
Referenced by _initialize_ppcnbsd_tdep().
|
static |
Definition at line 135 of file ppcnbsd-tdep.c.