39 #define ALPHANBSD_SIZEOF_GREGS (32 * 8) 42 #define ALPHANBSD_SIZEOF_FPREGS ((32 * 8) + 8) 51 int regnum,
const void *fpregs,
size_t len)
75 int regnum,
const void *gregs,
size_t len)
81 static const int regmap[] =
95 for (i = 0; i < ARRAY_SIZE(
regmap); i++)
119 int regnum,
const void *gregs,
size_t len)
189 0x00, 0x00, 0x1e, 0xa6,
190 0x10, 0x00, 0xde, 0x23,
191 0x27, 0x01, 0x1f, 0x20,
192 0x83, 0x00, 0x00, 0x00,
194 #define RETCODE_NWORDS 4 195 #define RETCODE_SIZE (RETCODE_NWORDS * 4)
void alpha_mdebug_init_abi(struct gdbarch_info info, struct gdbarch *gdbarch)
void _initialize_alphanbsd_tdep(void)
static int alphanbsd_pc_in_sigtramp(struct gdbarch *gdbarch, CORE_ADDR pc, const char *func_name)
struct link_map_offsets * svr4_lp64_fetch_link_map_offsets(void)
LONGEST(* dynamic_sigtramp_offset)(struct gdbarch *, CORE_ADDR)
std::vector< CORE_ADDR > alpha_software_single_step(struct regcache *regcache)
void() iterate_over_regset_sections_cb(const char *sect_name, int size, const struct regset *regset, const char *human_name, void *cb_data)
static CORE_ADDR alphanbsd_sigcontext_addr(struct frame_info *frame)
int nbsd_pc_in_sigtramp(CORE_ADDR pc, const char *func_name)
#define ALPHANBSD_SIZEOF_GREGS
void alpha_dwarf2_init_abi(struct gdbarch_info info, struct gdbarch *gdbarch)
CORE_ADDR(* sigcontext_addr)(struct frame_info *)
struct gdbarch_tdep * gdbarch_tdep(struct gdbarch *gdbarch)
static void alphanbsd_init_abi(struct gdbarch_info info, struct gdbarch *gdbarch)
static void alphanbsd_supply_gregset(const struct regset *regset, struct regcache *regcache, int regnum, const void *gregs, size_t len)
void set_solib_svr4_fetch_link_map_offsets(struct gdbarch *gdbarch, struct link_map_offsets *(*flmo)(void))
#define REGSET_VARIABLE_SIZE
static const gdb_byte sigtramp_retcode[]
#define ALPHA_FPCR_REGNUM
void alphanbsd_iterate_over_regset_sections(struct gdbarch *gdbarch, iterate_over_regset_sections_cb *cb, void *cb_data, const struct regcache *regcache)
void gdbarch_register_osabi(enum bfd_architecture arch, unsigned long machine, enum gdb_osabi osabi, void(*init_osabi)(struct gdbarch_info, struct gdbarch *))
#define ALPHA_ZERO_REGNUM
#define ALPHANBSD_SIZEOF_FPREGS
void set_gdbarch_software_single_step(struct gdbarch *gdbarch, gdbarch_software_single_step_ftype software_single_step)
struct frame_info * get_next_frame(struct frame_info *this_frame)
static const struct regset alphanbsd_gregset
int(* pc_in_sigtramp)(struct gdbarch *gdbarch, CORE_ADDR pc, const char *name)
CORE_ADDR get_frame_base(struct frame_info *fi)
int target_read_memory(CORE_ADDR memaddr, gdb_byte *myaddr, ssize_t len)
static void alphanbsd_supply_fpregset(const struct regset *regset, struct regcache *regcache, int regnum, const void *fpregs, size_t len)
struct m32c_reg regs[M32C_MAX_NUM_REGS]
void regcache_raw_supply(struct regcache *regcache, int regnum, const void *buf)
static LONGEST alphanbsd_sigtramp_offset(struct gdbarch *gdbarch, CORE_ADDR pc)
void set_gdbarch_iterate_over_regset_sections(struct gdbarch *gdbarch, gdbarch_iterate_over_regset_sections_ftype iterate_over_regset_sections)
static const struct regset alphanbsd_fpregset
static void alphanbsd_aout_supply_gregset(const struct regset *regset, struct regcache *regcache, int regnum, const void *gregs, size_t len)