GDB (xrefs)
Classes | Defines | Functions
/home/stan/gdb/src/gdb/alpha-tdep.h File Reference

Go to the source code of this file.

Classes

struct  gdbarch_tdep

Defines

#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)
int alpha_software_single_step (struct frame_info *frame)
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 Documentation

#define ALPHA_A0_REGNUM   16 /* Loc of first arg during a subr call */
#define ALPHA_FP0_REGNUM   32 /* Floating point register 0 */
#define ALPHA_FPA0_REGNUM   48 /* First float arg during a subr call */

Definition at line 48 of file alpha-tdep.h.

Referenced by alpha_push_dummy_call().

#define ALPHA_FPCR_REGNUM   63 /* Floating point control register */
#define ALPHA_GCC_FP_REGNUM   15 /* Used by gcc as frame register */

Definition at line 39 of file alpha-tdep.h.

Referenced by alpha_heuristic_frame_unwind_cache().

#define ALPHA_GP_REGNUM   29 /* Contains the global pointer */

Definition at line 44 of file alpha-tdep.h.

Referenced by alpha_register_type().

#define ALPHA_INSN_SIZE   4
#define ALPHA_NUM_ARG_REGS   6

Definition at line 68 of file alpha-tdep.h.

Referenced by alpha_mdebug_frame_args_address(), and alpha_push_dummy_call().

#define ALPHA_NUM_REGS   67
#define ALPHA_PC_REGNUM   64 /* Contains program counter */
#define ALPHA_RA_REGNUM   26 /* Contains return address value */
#define ALPHA_REGISTER_SIZE   8
#define ALPHA_S0_REGNUM   9 /* First saved register */

Definition at line 38 of file alpha-tdep.h.

Referenced by alphabsd_supply_pcb().

#define ALPHA_SP_REGNUM   30 /* Contains address of top of stack */
#define ALPHA_T12_REGNUM   27 /* Contains start addr of current proc */

Definition at line 43 of file alpha-tdep.h.

Referenced by alpha_push_dummy_call().

#define ALPHA_T7_REGNUM   8 /* Return address register for OSF/1 __add* */

Definition at line 37 of file alpha-tdep.h.

Referenced by alpha_heuristic_frame_unwind_cache().

#define ALPHA_T9_REGNUM   23 /* Return address register for OSF/1 __div* */

Definition at line 41 of file alpha-tdep.h.

Referenced by alpha_heuristic_frame_unwind_cache().

#define ALPHA_UNIQUE_REGNUM   66 /* PAL_rduniq value */
#define ALPHA_V0_REGNUM   0 /* Function integer return value */
#define ALPHA_ZERO_REGNUM   31 /* Read-only register, always 0 */

Function Documentation

void alpha_dwarf2_init_abi ( struct gdbarch_info  ,
struct gdbarch  
)
void alpha_fill_fp_regs ( const struct regcache ,
int  ,
void *  ,
void *   
)

Definition at line 1559 of file alpha-tdep.c.

References ALPHA_FP0_REGNUM, ALPHA_FPCR_REGNUM, and regcache_raw_collect().

Referenced by alphabsd_fill_fpreg(), and fill_fpregset().

void alpha_fill_int_regs ( const struct regcache ,
int  ,
void *  ,
void *  ,
void *   
)

Definition at line 1525 of file alpha-tdep.c.

References ALPHA_PC_REGNUM, ALPHA_UNIQUE_REGNUM, and regcache_raw_collect().

Referenced by alphabsd_fill_reg(), and fill_gregset().

void alpha_mdebug_init_abi ( struct gdbarch_info  ,
struct gdbarch  
)
unsigned int alpha_read_insn ( struct gdbarch gdbarch,
CORE_ADDR  pc 
)
void alpha_supply_fp_regs ( struct regcache ,
int  ,
const void *  ,
const void *   
)

Definition at line 1543 of file alpha-tdep.c.

References ALPHA_FP0_REGNUM, ALPHA_FPCR_REGNUM, and regcache_raw_supply().

Referenced by alphabsd_supply_fpreg(), and supply_fpregset().

void alpha_supply_int_regs ( struct regcache ,
int  ,
const void *  ,
const void *  ,
const void *   
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines