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