GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Macros | Functions
alpha-tdep.h File Reference
#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 *)
 

Macro Definition Documentation

◆ ALPHA_A0_REGNUM

#define ALPHA_A0_REGNUM   16 /* Loc of first arg during a subr call */

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

◆ ALPHA_FP0_REGNUM

#define ALPHA_FP0_REGNUM   32 /* Floating point register 0 */

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

◆ ALPHA_FPA0_REGNUM

#define ALPHA_FPA0_REGNUM   48 /* First float arg during a subr call */

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

◆ ALPHA_FPCR_REGNUM

#define ALPHA_FPCR_REGNUM   63 /* Floating point control register */

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

◆ ALPHA_GCC_FP_REGNUM

#define ALPHA_GCC_FP_REGNUM   15 /* Used by gcc as frame register */

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

◆ ALPHA_GP_REGNUM

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

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

◆ ALPHA_INSN_SIZE

#define ALPHA_INSN_SIZE   4

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

◆ ALPHA_NUM_ARG_REGS

#define ALPHA_NUM_ARG_REGS   6

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

◆ ALPHA_NUM_REGS

#define ALPHA_NUM_REGS   67

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

◆ ALPHA_PC_REGNUM

#define ALPHA_PC_REGNUM   64 /* Contains program counter */

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

◆ ALPHA_RA_REGNUM

#define ALPHA_RA_REGNUM   26 /* Contains return address value */

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

◆ ALPHA_REGISTER_SIZE

#define ALPHA_REGISTER_SIZE   8

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

◆ ALPHA_S0_REGNUM

#define ALPHA_S0_REGNUM   9 /* First saved register */

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

◆ ALPHA_SP_REGNUM

#define ALPHA_SP_REGNUM   30 /* Contains address of top of stack */

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

◆ ALPHA_T12_REGNUM

#define ALPHA_T12_REGNUM   27 /* Contains start addr of current proc */

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

◆ ALPHA_T7_REGNUM

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

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

◆ ALPHA_T9_REGNUM

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

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

◆ ALPHA_UNIQUE_REGNUM

#define ALPHA_UNIQUE_REGNUM   66 /* PAL_rduniq value */

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

◆ ALPHA_V0_REGNUM

#define ALPHA_V0_REGNUM   0 /* Function integer return value */

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

◆ ALPHA_ZERO_REGNUM

#define ALPHA_ZERO_REGNUM   31 /* Read-only register, always 0 */

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

Function Documentation

◆ alpha_after_prologue()

CORE_ADDR alpha_after_prologue ( CORE_ADDR  pc)

◆ alpha_dwarf2_init_abi()

void alpha_dwarf2_init_abi ( struct gdbarch_info  info,
struct gdbarch gdbarch 
)

◆ alpha_fill_fp_regs()

void alpha_fill_fp_regs ( const struct regcache regcache,
int  regno,
void *  f0_f30,
void *  fpcr 
)

◆ alpha_fill_int_regs()

void alpha_fill_int_regs ( const struct regcache regcache,
int  regno,
void *  r0_r30,
void *  pc,
void *  unique 
)

◆ alpha_mdebug_init_abi()

void alpha_mdebug_init_abi ( struct gdbarch_info  info,
struct gdbarch gdbarch 
)

◆ alpha_read_insn()

unsigned int alpha_read_insn ( struct gdbarch gdbarch,
CORE_ADDR  pc 
)

◆ alpha_software_single_step()

std::vector< CORE_ADDR > alpha_software_single_step ( struct regcache regcache)

◆ alpha_supply_fp_regs()

void alpha_supply_fp_regs ( struct regcache regcache,
int  regno,
const void *  f0_f30,
const void *  fpcr 
)

◆ alpha_supply_int_regs()

void alpha_supply_int_regs ( struct regcache regcache,
int  regno,
const void *  r0_r30,
const void *  pc,
const void *  unique 
)