GDB (xrefs)
|
#include "defs.h"
#include "arch-utils.h"
#include "frame.h"
#include "frame-unwind.h"
#include "gdbtypes.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"
#include "symtab.h"
#include "trad-frame.h"
#include "ppc-tdep.h"
#include "ppcobsd-tdep.h"
#include "solib-svr4.h"
Go to the source code of this file.
Macros | |
#define | GDB_OSABI_NETBSD_CORE GDB_OSABI_OPENBSD_ELF |
Variables | |
struct ppc_reg_offsets | ppcobsd_reg_offsets |
struct ppc_reg_offsets | ppcobsd_fpreg_offsets |
const struct regset | ppcobsd_gregset |
const struct regset | ppcobsd_fpregset |
static const int | ppcobsd_page_size = 4096 |
static const int | ppcobsd_sigreturn_offset [] |
static const struct frame_unwind | ppcobsd_sigtramp_frame_unwind |
#define GDB_OSABI_NETBSD_CORE GDB_OSABI_OPENBSD_ELF |
Definition at line 267 of file ppcobsd-tdep.c.
Referenced by ppcobsd_core_osabi_sniffer().
void _initialize_ppcobsd_tdep | ( | void | ) |
Definition at line 283 of file ppcobsd-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_OPENBSD_ELF, gdbarch_register_osabi(), gdbarch_register_osabi_sniffer(), ppc_reg_offsets::gpr_size, ppc_reg_offsets::lr_offset, ppc_reg_offsets::mq_offset, ppc_reg_offsets::pc_offset, ppcobsd_core_osabi_sniffer(), ppcobsd_fpreg_offsets, ppcobsd_init_abi(), ppcobsd_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.
void ppcobsd_collect_gregset | ( | const struct regset * | regset, |
const struct regcache * | regcache, | ||
int | regnum, | ||
void * | gregs, | ||
size_t | len | ||
) |
Definition at line 61 of file ppcobsd-tdep.c.
References ppc_collect_fpregset(), and ppc_collect_gregset().
|
static |
Definition at line 270 of file ppcobsd-tdep.c.
References GDB_OSABI_NETBSD_CORE, and GDB_OSABI_UNKNOWN.
Referenced by _initialize_ppcobsd_tdep().
|
static |
Definition at line 245 of file ppcobsd-tdep.c.
References floatformats_ieee_double, frame_unwind_append_unwinder(), ppc_sysv_abi_broken_return_value(), ppcobsd_iterate_over_regset_sections(), set_gdbarch_iterate_over_regset_sections(), set_gdbarch_long_double_bit(), set_gdbarch_long_double_format(), set_gdbarch_return_value(), set_solib_svr4_fetch_link_map_offsets(), and svr4_ilp32_fetch_link_map_offsets().
Referenced by _initialize_ppcobsd_tdep().
|
static |
Definition at line 86 of file ppcobsd-tdep.c.
Referenced by ppcobsd_init_abi().
|
static |
Definition at line 161 of file ppcobsd-tdep.c.
References extract_unsigned_integer(), frame_id_build(), func, gdbarch_byte_order(), gdbarch_pc_regnum(), gdbarch_sp_regnum(), gdbarch_tdep(), get_frame_arch(), get_frame_pc(), get_frame_register_unsigned(), gdbarch_tdep::ppc_cr_regnum, gdbarch_tdep::ppc_ctr_regnum, gdbarch_tdep::ppc_gp0_regnum, PPC_INSN_SIZE, gdbarch_tdep::ppc_lr_regnum, ppc_num_gprs, gdbarch_tdep::ppc_xer_regnum, ppcobsd_page_size, regnum, safe_frame_unwind_memory(), trad_frame_cache_zalloc(), trad_frame_set_id(), trad_frame_set_reg_addr(), and gdbarch_tdep::wordsize.
Referenced by ppcobsd_sigtramp_frame_prev_register(), and ppcobsd_sigtramp_frame_this_id().
|
static |
Definition at line 225 of file ppcobsd-tdep.c.
References ppcobsd_sigtramp_frame_cache(), and trad_frame_get_register().
|
static |
Definition at line 119 of file ppcobsd-tdep.c.
References gdbarch::byte_order, extract_unsigned_integer(), find_pc_partial_function(), gdbarch_byte_order(), get_frame_arch(), get_frame_pc(), name, offset, PPC_INSN_SIZE, ppcobsd_page_size, ppcobsd_sigreturn_offset, and safe_frame_unwind_memory().
|
static |
Definition at line 215 of file ppcobsd-tdep.c.
References ppcobsd_sigtramp_frame_cache(), and trad_frame_get_id().
void ppcobsd_supply_gregset | ( | const struct regset * | regset, |
struct regcache * | regcache, | ||
int | regnum, | ||
const void * | gregs, | ||
size_t | len | ||
) |
Definition at line 47 of file ppcobsd-tdep.c.
References ppc_supply_fpregset(), and ppc_supply_gregset().
struct ppc_reg_offsets ppcobsd_fpreg_offsets |
Definition at line 37 of file ppcobsd-tdep.c.
Referenced by _initialize_ppcobsd_nat(), and _initialize_ppcobsd_tdep().
Definition at line 77 of file ppcobsd-tdep.c.
Referenced by ppcobsd_fetch_registers(), and ppcobsd_store_registers().
Definition at line 71 of file ppcobsd-tdep.c.
Referenced by ppcobsd_fetch_registers(), and ppcobsd_store_registers().
Definition at line 109 of file ppcobsd-tdep.c.
Referenced by ppcobsd_sigtramp_frame_cache(), and ppcobsd_sigtramp_frame_sniffer().
struct ppc_reg_offsets ppcobsd_reg_offsets |
Definition at line 36 of file ppcobsd-tdep.c.
Referenced by _initialize_ppcobsd_nat(), and _initialize_ppcobsd_tdep().
Definition at line 112 of file ppcobsd-tdep.c.
Referenced by ppcobsd_sigtramp_frame_sniffer().
|
static |
Definition at line 234 of file ppcobsd-tdep.c.