GDB (xrefs)
|
#include "gdbarch.h"
Go to the source code of this file.
Classes | |
struct | alpha_gdbarch_tdep |
Macros | |
#define | ALPHA_REGISTER_SIZE 8 |
#define | ALPHA_NUM_REGS 67 |
#define | ALPHA_V0_REGNUM 0 /* Function integer return value */ |
#define | ALPHA_T7_REGNUM 8 /* Return address register for OSF/1 __add* */ |
#define | ALPHA_S0_REGNUM 9 /* First saved register */ |
#define | ALPHA_GCC_FP_REGNUM 15 /* Used by gcc as frame register */ |
#define | ALPHA_A0_REGNUM 16 /* Loc of first arg during a subr call */ |
#define | ALPHA_T9_REGNUM 23 /* Return address register for OSF/1 __div* */ |
#define | ALPHA_RA_REGNUM 26 /* Contains return address value */ |
#define | ALPHA_T12_REGNUM 27 /* Contains start addr of current proc */ |
#define | ALPHA_GP_REGNUM 29 /* Contains the global pointer */ |
#define | ALPHA_SP_REGNUM 30 /* Contains address of top of stack */ |
#define | ALPHA_ZERO_REGNUM 31 /* Read-only register, always 0 */ |
#define | ALPHA_FP0_REGNUM 32 /* Floating point register 0 */ |
#define | ALPHA_FPA0_REGNUM 48 /* First float arg during a subr call */ |
#define | ALPHA_FPCR_REGNUM 63 /* Floating point control register */ |
#define | ALPHA_PC_REGNUM 64 /* Contains program counter */ |
#define | ALPHA_UNIQUE_REGNUM 66 /* PAL_rduniq value */ |
#define | ALPHA_INSN_SIZE 4 |
#define | ALPHA_NUM_ARG_REGS 6 |
Functions | |
unsigned int | alpha_read_insn (struct gdbarch *gdbarch, CORE_ADDR pc) |
std::vector< CORE_ADDR > | alpha_software_single_step (struct regcache *regcache) |
CORE_ADDR | alpha_after_prologue (CORE_ADDR pc) |
void | alpha_mdebug_init_abi (struct gdbarch_info, struct gdbarch *) |
void | alpha_dwarf2_init_abi (struct gdbarch_info, struct gdbarch *) |
void | alpha_supply_int_regs (struct regcache *, int, const void *, const void *, const void *) |
void | alpha_fill_int_regs (const struct regcache *, int, void *, void *, void *) |
void | alpha_supply_fp_regs (struct regcache *, int, const void *, const void *) |
void | alpha_fill_fp_regs (const struct regcache *, int, void *, void *) |
#define ALPHA_A0_REGNUM 16 /* Loc of first arg during a subr call */ |
Definition at line 42 of file alpha-tdep.h.
#define ALPHA_FP0_REGNUM 32 /* Floating point register 0 */ |
Definition at line 49 of file alpha-tdep.h.
#define ALPHA_FPA0_REGNUM 48 /* First float arg during a subr call */ |
Definition at line 50 of file alpha-tdep.h.
#define ALPHA_FPCR_REGNUM 63 /* Floating point control register */ |
Definition at line 51 of file alpha-tdep.h.
#define ALPHA_GCC_FP_REGNUM 15 /* Used by gcc as frame register */ |
Definition at line 41 of file alpha-tdep.h.
#define ALPHA_GP_REGNUM 29 /* Contains the global pointer */ |
Definition at line 46 of file alpha-tdep.h.
#define ALPHA_INSN_SIZE 4 |
Definition at line 56 of file alpha-tdep.h.
#define ALPHA_NUM_ARG_REGS 6 |
Definition at line 70 of file alpha-tdep.h.
#define ALPHA_NUM_REGS 67 |
Definition at line 32 of file alpha-tdep.h.
#define ALPHA_PC_REGNUM 64 /* Contains program counter */ |
Definition at line 52 of file alpha-tdep.h.
Definition at line 44 of file alpha-tdep.h.
#define ALPHA_REGISTER_SIZE 8 |
Definition at line 29 of file alpha-tdep.h.
#define ALPHA_S0_REGNUM 9 /* First saved register */ |
Definition at line 40 of file alpha-tdep.h.
#define ALPHA_SP_REGNUM 30 /* Contains address of top of stack */ |
Definition at line 47 of file alpha-tdep.h.
#define ALPHA_T12_REGNUM 27 /* Contains start addr of current proc */ |
Definition at line 45 of file alpha-tdep.h.
#define ALPHA_T7_REGNUM 8 /* Return address register for OSF/1 __add* */ |
Definition at line 39 of file alpha-tdep.h.
#define ALPHA_T9_REGNUM 23 /* Return address register for OSF/1 __div* */ |
Definition at line 43 of file alpha-tdep.h.
#define ALPHA_UNIQUE_REGNUM 66 /* PAL_rduniq value */ |
Definition at line 53 of file alpha-tdep.h.
Definition at line 38 of file alpha-tdep.h.
#define ALPHA_ZERO_REGNUM 31 /* Read-only register, always 0 */ |
Definition at line 48 of file alpha-tdep.h.
CORE_ADDR alpha_after_prologue | ( | CORE_ADDR | pc | ) |
Referenced by alpha_mdebug_after_prologue(), and alpha_skip_prologue().
void alpha_dwarf2_init_abi | ( | struct gdbarch_info | info, |
struct gdbarch * | gdbarch | ||
) |
Definition at line 1817 of file alpha-tdep.c.
References dwarf2_append_unwinders(), dwarf2_frame_base_sniffer(), and frame_base_append_sniffer().
Referenced by alpha_linux_init_abi(), alphanbsd_init_abi(), and alphaobsd_init_abi().
void alpha_fill_fp_regs | ( | const struct regcache * | regcache, |
int | regno, | ||
void * | f0_f30, | ||
void * | fpcr | ||
) |
Definition at line 1530 of file alpha-tdep.c.
References ALPHA_FP0_REGNUM, ALPHA_FPCR_REGNUM, and reg_buffer::raw_collect().
Referenced by alpha_linux_collect_fpregset(), alphabsd_fill_fpreg(), and fill_fpregset().
void alpha_fill_int_regs | ( | const struct regcache * | regcache, |
int | regno, | ||
void * | r0_r30, | ||
void * | pc, | ||
void * | unique | ||
) |
Definition at line 1497 of file alpha-tdep.c.
References ALPHA_PC_REGNUM, ALPHA_UNIQUE_REGNUM, and reg_buffer::raw_collect().
Referenced by alpha_linux_collect_gregset(), alphabsd_fill_reg(), and fill_gregset().
void alpha_mdebug_init_abi | ( | struct gdbarch_info | info, |
struct gdbarch * | gdbarch | ||
) |
Definition at line 406 of file alpha-mdebug-tdep.c.
References alpha_mdebug_frame_base_sniffer(), alpha_mdebug_frame_unwind, frame_base_append_sniffer(), and frame_unwind_append_unwinder().
Referenced by alpha_linux_init_abi(), alphanbsd_init_abi(), and alphaobsd_init_abi().
unsigned int alpha_read_insn | ( | struct gdbarch * | gdbarch, |
CORE_ADDR | pc | ||
) |
Definition at line 671 of file alpha-tdep.c.
References ALPHA_INSN_SIZE, extract_unsigned_integer(), gdbarch_byte_order(), memory_error(), symtab_and_line::pc, target_read_memory(), and TARGET_XFER_E_IO.
Referenced by alpha_deal_with_atomic_sequence(), alpha_heuristic_analyze_probing_loop(), alpha_heuristic_frame_unwind_cache(), alpha_heuristic_proc_start(), alpha_linux_sigcontext_addr(), alpha_linux_sigtramp_offset_1(), alpha_next_pc(), alpha_skip_prologue(), and alphaobsd_pc_in_sigtramp().
std::vector< CORE_ADDR > alpha_software_single_step | ( | struct regcache * | regcache | ) |
Definition at line 1696 of file alpha-tdep.c.
References alpha_deal_with_atomic_sequence(), alpha_next_pc(), reg_buffer::arch(), and regcache_read_pc().
Referenced by alpha_gdbarch_init(), alphanbsd_init_abi(), and alphaobsd_init_abi().
void alpha_supply_fp_regs | ( | struct regcache * | regcache, |
int | regno, | ||
const void * | f0_f30, | ||
const void * | fpcr | ||
) |
Definition at line 1515 of file alpha-tdep.c.
References ALPHA_FP0_REGNUM, ALPHA_FPCR_REGNUM, and reg_buffer::raw_supply().
Referenced by alpha_linux_supply_fpregset(), alphabsd_supply_fpreg(), and supply_fpregset().
void alpha_supply_int_regs | ( | struct regcache * | regcache, |
int | regno, | ||
const void * | r0_r30, | ||
const void * | pc, | ||
const void * | unique | ||
) |
Definition at line 1472 of file alpha-tdep.c.
References ALPHA_PC_REGNUM, ALPHA_UNIQUE_REGNUM, ALPHA_ZERO_REGNUM, and reg_buffer::raw_supply().
Referenced by alpha_linux_supply_gregset(), alphabsd_supply_reg(), and supply_gregset().