GDB (API)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/alpha-tdep.c File Reference
#include "defs.h"
#include "doublest.h"
#include "frame.h"
#include "frame-unwind.h"
#include "frame-base.h"
#include "dwarf2-frame.h"
#include "inferior.h"
#include "symtab.h"
#include "value.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "dis-asm.h"
#include "symfile.h"
#include "objfiles.h"
#include "gdb_string.h"
#include "linespec.h"
#include "regcache.h"
#include "reggroups.h"
#include "arch-utils.h"
#include "osabi.h"
#include "block.h"
#include "infcall.h"
#include "trad-frame.h"
#include "elf-bfd.h"
#include "alpha-tdep.h"

Go to the source code of this file.

Defines

#define INSN_OPCODE(insn)   ((insn & 0xfc000000) >> 26)
#define MEM_RA(insn)   ((insn & 0x03e00000) >> 21)
#define MEM_RB(insn)   ((insn & 0x001f0000) >> 16)
#define MEM_DISP(insn)   (((insn & 0x8000) == 0) ? (insn & 0xffff) : -((-insn) & 0xffff))
#define BR_RA(insn)   MEM_RA(insn)
#define OPR_FUNCTION(insn)   ((insn & 0xfe0) >> 5)
#define OPR_HAS_IMMEDIATE(insn)   ((insn & 0x1000) == 0x1000)
#define OPR_RA(insn)   MEM_RA(insn)
#define OPR_RC(insn)   ((insn & 0x1f))
#define OPR_LIT(insn)   ((insn & 0x1fe000) >> 13)

Functions

CORE_ADDR alpha_after_prologue (CORE_ADDR pc)
unsigned int alpha_read_insn (struct gdbarch *gdbarch, CORE_ADDR pc)
void alpha_supply_int_regs (struct regcache *regcache, int regno, const void *r0_r30, const void *pc, const void *unique)
void alpha_fill_int_regs (const struct regcache *regcache, int regno, void *r0_r30, void *pc, void *unique)
void alpha_supply_fp_regs (struct regcache *regcache, int regno, const void *f0_f30, const void *fpcr)
void alpha_fill_fp_regs (const struct regcache *regcache, int regno, void *f0_f30, void *fpcr)
int alpha_software_single_step (struct frame_info *frame)
void alpha_dwarf2_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
void _initialize_alpha_tdep (void)

Variables

initialize_file_ftype _initialize_alpha_tdep

Define Documentation

#define BR_RA (   insn)    MEM_RA(insn)

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

#define INSN_OPCODE (   insn)    ((insn & 0xfc000000) >> 26)

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

#define MEM_DISP (   insn)    (((insn & 0x8000) == 0) ? (insn & 0xffff) : -((-insn) & 0xffff))

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

#define MEM_RA (   insn)    ((insn & 0x03e00000) >> 21)

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

#define MEM_RB (   insn)    ((insn & 0x001f0000) >> 16)

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

#define OPR_FUNCTION (   insn)    ((insn & 0xfe0) >> 5)

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

#define OPR_HAS_IMMEDIATE (   insn)    ((insn & 0x1000) == 0x1000)

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

#define OPR_LIT (   insn)    ((insn & 0x1fe000) >> 13)

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

#define OPR_RA (   insn)    MEM_RA(insn)

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

#define OPR_RC (   insn)    ((insn & 0x1f))

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


Function Documentation

void _initialize_alpha_tdep ( void  )

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

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

void alpha_dwarf2_init_abi ( struct gdbarch_info  info,
struct gdbarch *  gdbarch 
)

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

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

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

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

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

unsigned int alpha_read_insn ( struct gdbarch *  gdbarch,
CORE_ADDR  pc 
)

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

int alpha_software_single_step ( struct frame_info *  frame)

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

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

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

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

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


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines