49 const void *gregs,
size_t len)
63 void *gregs,
size_t len)
71 const struct regset ppcobsd_gregset =
77 const struct regset ppcobsd_fpregset =
91 cb (
".reg", 412, &ppcobsd_gregset, NULL, cb_data);
145 if (insn != 0x38000067)
151 if (insn != 0x44000002)
169 unsigned long insn, sigcontext_offset;
187 sigcontext_offset = (0x10000 - (insn & 0x0000ffff)) + 8;
190 addr = base + sigcontext_offset + 2 * tdep->
wordsize;
224 static struct value *
226 void **this_cache,
int regnum)
267 #define GDB_OSABI_NETBSD_CORE GDB_OSABI_OPENBSD_ELF
272 if (strcmp (bfd_get_target (abfd),
"netbsd-core") == 0)
#define GDB_OSABI_NETBSD_CORE
static const int ppcobsd_sigreturn_offset[]
static struct value * ppcobsd_sigtramp_frame_prev_register(struct frame_info *this_frame, void **this_cache, int regnum)
ULONGEST extract_unsigned_integer(const gdb_byte *, int, enum bfd_endian)
static void ppcobsd_sigtramp_frame_this_id(struct frame_info *this_frame, void **this_cache, struct frame_id *this_id)
void trad_frame_set_reg_addr(struct trad_frame_cache *this_trad_cache, int regnum, CORE_ADDR addr)
static int ppcobsd_sigtramp_frame_sniffer(const struct frame_unwind *self, struct frame_info *this_frame, void **this_cache)
struct frame_id frame_id_build(CORE_ADDR stack_addr, CORE_ADDR code_addr)
enum return_value_convention ppc_sysv_abi_broken_return_value(struct gdbarch *gdbarch, struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf)
CORE_ADDR get_frame_pc(struct frame_info *frame)
const struct floatformat * floatformats_ieee_double[BFD_ENDIAN_UNKNOWN]
static struct trad_frame_cache * ppcobsd_sigtramp_frame_cache(struct frame_info *this_frame, void **this_cache)
static void ppcobsd_iterate_over_regset_sections(struct gdbarch *gdbarch, iterate_over_regset_sections_cb *cb, void *cb_data, const struct regcache *regcache)
void ppc_supply_fpregset(const struct regset *regset, struct regcache *regcache, int regnum, const void *fpregs, size_t len)
void trad_frame_set_id(struct trad_frame_cache *this_trad_cache, struct frame_id this_id)
struct ppc_reg_offsets ppcobsd_reg_offsets
void gdbarch_register_osabi_sniffer(enum bfd_architecture arch, enum bfd_flavour flavour, enum gdb_osabi(*sniffer_fn)(bfd *))
struct link_map_offsets * svr4_ilp32_fetch_link_map_offsets(void)
struct gdbarch_tdep * gdbarch_tdep(struct gdbarch *gdbarch)
void frame_unwind_append_unwinder(struct gdbarch *gdbarch, const struct frame_unwind *unwinder)
void ppcobsd_collect_gregset(const struct regset *regset, const struct regcache *regcache, int regnum, void *gregs, size_t len)
void trad_frame_get_id(struct trad_frame_cache *this_trad_cache, struct frame_id *this_id)
void ppc_collect_gregset(const struct regset *regset, const struct regcache *regcache, int regnum, void *gregs, size_t len)
int gdbarch_sp_regnum(struct gdbarch *gdbarch)
int safe_frame_unwind_memory(struct frame_info *this_frame, CORE_ADDR addr, gdb_byte *buf, int len)
enum bfd_endian gdbarch_byte_order(struct gdbarch *gdbarch)
void set_solib_svr4_fetch_link_map_offsets(struct gdbarch *gdbarch, struct link_map_offsets *(*flmo)(void))
int find_pc_partial_function(CORE_ADDR pc, const char **name, CORE_ADDR *address, CORE_ADDR *endaddr)
void ppcobsd_supply_gregset(const struct regset *regset, struct regcache *regcache, int regnum, const void *gregs, size_t len)
struct ppc_reg_offsets ppcobsd_fpreg_offsets
void ppc_collect_fpregset(const struct regset *regset, const struct regcache *regcache, int regnum, void *fpregs, size_t len)
struct trad_frame_cache * trad_frame_cache_zalloc(struct frame_info *this_frame)
void( iterate_over_regset_sections_cb)(const char *sect_name, int size, const struct regset *regset, const char *human_name, void *cb_data)
ULONGEST get_frame_register_unsigned(struct frame_info *frame, int regnum)
struct frame_info * this_frame
static void ppcobsd_init_abi(struct gdbarch_info info, struct gdbarch *gdbarch)
static enum gdb_osabi ppcobsd_core_osabi_sniffer(bfd *abfd)
enum unwind_stop_reason default_frame_unwind_stop_reason(struct frame_info *this_frame, void **this_cache)
void set_gdbarch_long_double_bit(struct gdbarch *gdbarch, int long_double_bit)
void set_gdbarch_return_value(struct gdbarch *gdbarch, gdbarch_return_value_ftype return_value)
int gdbarch_pc_regnum(struct gdbarch *gdbarch)
void set_gdbarch_long_double_format(struct gdbarch *gdbarch, const struct floatformat **long_double_format)
static const int ppcobsd_page_size
void _initialize_ppcobsd_tdep(void)
void set_gdbarch_iterate_over_regset_sections(struct gdbarch *gdbarch, gdbarch_iterate_over_regset_sections_ftype iterate_over_regset_sections)
struct value * trad_frame_get_register(struct trad_frame_cache *this_trad_cache, struct frame_info *this_frame, int regnum)
enum bfd_endian byte_order
void gdbarch_register_osabi(enum bfd_architecture arch, unsigned long machine, enum gdb_osabi osabi, void(*init_osabi)(struct gdbarch_info, struct gdbarch *))
void ppc_supply_gregset(const struct regset *regset, struct regcache *regcache, int regnum, const void *gregs, size_t len)
struct gdbarch * get_frame_arch(struct frame_info *this_frame)
const ULONGEST const LONGEST len