GDB (API)
Classes | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/sparc-tdep.h File Reference

Go to the source code of this file.

Classes

struct  sparc_gregset
struct  sparc_fpregset
struct  gdbarch_tdep
struct  sparc_frame_cache

Enumerations

enum  sparc_regnum {
  SPARC_G0_REGNUM, SPARC_G1_REGNUM, SPARC_G2_REGNUM, SPARC_G3_REGNUM,
  SPARC_G4_REGNUM, SPARC_G5_REGNUM, SPARC_G6_REGNUM, SPARC_G7_REGNUM,
  SPARC_O0_REGNUM, SPARC_O1_REGNUM, SPARC_O2_REGNUM, SPARC_O3_REGNUM,
  SPARC_O4_REGNUM, SPARC_O5_REGNUM, SPARC_SP_REGNUM, SPARC_O7_REGNUM,
  SPARC_L0_REGNUM, SPARC_L1_REGNUM, SPARC_L2_REGNUM, SPARC_L3_REGNUM,
  SPARC_L4_REGNUM, SPARC_L5_REGNUM, SPARC_L6_REGNUM, SPARC_L7_REGNUM,
  SPARC_I0_REGNUM, SPARC_I1_REGNUM, SPARC_I2_REGNUM, SPARC_I3_REGNUM,
  SPARC_I4_REGNUM, SPARC_I5_REGNUM, SPARC_FP_REGNUM, SPARC_I7_REGNUM,
  SPARC_F0_REGNUM, SPARC_F1_REGNUM, SPARC_F2_REGNUM, SPARC_F3_REGNUM,
  SPARC_F4_REGNUM, SPARC_F5_REGNUM, SPARC_F6_REGNUM, SPARC_F7_REGNUM,
  SPARC_F31_REGNUM = SPARC_F0_REGNUM + 31
}
enum  sparc32_regnum {
  SPARC32_Y_REGNUM = SPARC_F31_REGNUM + 1, SPARC32_PSR_REGNUM, SPARC32_WIM_REGNUM, SPARC32_TBR_REGNUM,
  SPARC32_PC_REGNUM, SPARC32_NPC_REGNUM, SPARC32_FSR_REGNUM, SPARC32_CSR_REGNUM,
  SPARC32_D0_REGNUM, SPARC32_D30_REGNUM = SPARC32_D0_REGNUM + 15
}

Functions

unsigned long sparc_fetch_instruction (CORE_ADDR pc)
ULONGEST sparc_fetch_wcookie (struct gdbarch *gdbarch)
void sparc_record_save_insn (struct sparc_frame_cache *cache)
CORE_ADDR sparc_analyze_prologue (struct gdbarch *gdbarch, CORE_ADDR pc, CORE_ADDR current_pc, struct sparc_frame_cache *cache)
struct sparc_frame_cachesparc_frame_cache (struct frame_info *this_frame, void **this_cache)
struct sparc_frame_cachesparc32_frame_cache (struct frame_info *this_frame, void **this_cache)
int sparc_software_single_step (struct frame_info *frame)
void sparc_supply_rwindow (struct regcache *regcache, CORE_ADDR sp, int regnum)
void sparc_collect_rwindow (const struct regcache *regcache, CORE_ADDR sp, int regnum)
void sparc32_supply_gregset (const struct sparc_gregset *gregset, struct regcache *regcache, int regnum, const void *gregs)
void sparc32_collect_gregset (const struct sparc_gregset *gregset, const struct regcache *regcache, int regnum, void *gregs)
void sparc32_supply_fpregset (const struct sparc_fpregset *fpregset, struct regcache *regcache, int regnum, const void *fpregs)
void sparc32_collect_fpregset (const struct sparc_fpregset *fpregset, const struct regcache *regcache, int regnum, void *fpregs)
int sparc_sol2_pc_in_sigtramp (CORE_ADDR pc, const char *name)
const char * sparc_sol2_static_transform_name (const char *name)
void sparc32_sol2_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
CORE_ADDR sparcnbsd_step_trap (struct frame_info *frame, unsigned long insn)
void sparc32nbsd_elf_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
struct trad_frame_saved_regsparc32nbsd_sigcontext_saved_regs (struct frame_info *next_frame)

Variables

struct sparc_gregset sparc32_sunos4_gregset
struct sparc_fpregset sparc32_sunos4_fpregset
struct sparc_fpregset sparc32_bsd_fpregset
struct sparc_gregset sparc32_sol2_gregset
struct sparc_fpregset sparc32_sol2_fpregset
struct sparc_gregset sparc32nbsd_gregset

Enumeration Type Documentation

Enumerator:
SPARC32_Y_REGNUM 
SPARC32_PSR_REGNUM 
SPARC32_WIM_REGNUM 
SPARC32_TBR_REGNUM 
SPARC32_PC_REGNUM 
SPARC32_NPC_REGNUM 
SPARC32_FSR_REGNUM 
SPARC32_CSR_REGNUM 
SPARC32_D0_REGNUM 
SPARC32_D30_REGNUM 

Definition at line 132 of file sparc-tdep.h.

Enumerator:
SPARC_G0_REGNUM 
SPARC_G1_REGNUM 
SPARC_G2_REGNUM 
SPARC_G3_REGNUM 
SPARC_G4_REGNUM 
SPARC_G5_REGNUM 
SPARC_G6_REGNUM 
SPARC_G7_REGNUM 
SPARC_O0_REGNUM 
SPARC_O1_REGNUM 
SPARC_O2_REGNUM 
SPARC_O3_REGNUM 
SPARC_O4_REGNUM 
SPARC_O5_REGNUM 
SPARC_SP_REGNUM 
SPARC_O7_REGNUM 
SPARC_L0_REGNUM 
SPARC_L1_REGNUM 
SPARC_L2_REGNUM 
SPARC_L3_REGNUM 
SPARC_L4_REGNUM 
SPARC_L5_REGNUM 
SPARC_L6_REGNUM 
SPARC_L7_REGNUM 
SPARC_I0_REGNUM 
SPARC_I1_REGNUM 
SPARC_I2_REGNUM 
SPARC_I3_REGNUM 
SPARC_I4_REGNUM 
SPARC_I5_REGNUM 
SPARC_FP_REGNUM 
SPARC_I7_REGNUM 
SPARC_F0_REGNUM 
SPARC_F1_REGNUM 
SPARC_F2_REGNUM 
SPARC_F3_REGNUM 
SPARC_F4_REGNUM 
SPARC_F5_REGNUM 
SPARC_F6_REGNUM 
SPARC_F7_REGNUM 
SPARC_F31_REGNUM 

Definition at line 86 of file sparc-tdep.h.


Function Documentation

void sparc32_collect_fpregset ( const struct sparc_fpregset fpregset,
const struct regcache *  regcache,
int  regnum,
void *  fpregs 
)

Definition at line 1985 of file sparc-tdep.c.

void sparc32_collect_gregset ( const struct sparc_gregset gregset,
const struct regcache *  regcache,
int  regnum,
void *  gregs 
)

Definition at line 1910 of file sparc-tdep.c.

struct sparc_frame_cache* sparc32_frame_cache ( struct frame_info *  this_frame,
void **  this_cache 
) [read]

Definition at line 1101 of file sparc-tdep.c.

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

Definition at line 213 of file sparc-sol2-tdep.c.

void sparc32_supply_fpregset ( const struct sparc_fpregset fpregset,
struct regcache *  regcache,
int  regnum,
const void *  fpregs 
)

Definition at line 1965 of file sparc-tdep.c.

void sparc32_supply_gregset ( const struct sparc_gregset gregset,
struct regcache *  regcache,
int  regnum,
const void *  gregs 
)

Definition at line 1845 of file sparc-tdep.c.

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

Definition at line 314 of file sparcnbsd-tdep.c.

struct trad_frame_saved_reg* sparc32nbsd_sigcontext_saved_regs ( struct frame_info *  next_frame) [read]

Definition at line 100 of file sparcnbsd-tdep.c.

CORE_ADDR sparc_analyze_prologue ( struct gdbarch *  gdbarch,
CORE_ADDR  pc,
CORE_ADDR  current_pc,
struct sparc_frame_cache cache 
)

Definition at line 835 of file sparc-tdep.c.

void sparc_collect_rwindow ( const struct regcache *  regcache,
CORE_ADDR  sp,
int  regnum 
)

Definition at line 1774 of file sparc-tdep.c.

unsigned long sparc_fetch_instruction ( CORE_ADDR  pc)

Definition at line 96 of file sparc-tdep.c.

ULONGEST sparc_fetch_wcookie ( struct gdbarch *  gdbarch)

Definition at line 156 of file sparc-tdep.c.

struct sparc_frame_cache* sparc_frame_cache ( struct frame_info *  this_frame,
void **  this_cache 
) [read]

Definition at line 1044 of file sparc-tdep.c.

void sparc_record_save_insn ( struct sparc_frame_cache cache)

Definition at line 812 of file sparc-tdep.c.

int sparc_software_single_step ( struct frame_info *  frame)

Definition at line 1556 of file sparc-tdep.c.

int sparc_sol2_pc_in_sigtramp ( CORE_ADDR  pc,
const char *  name 
)

Definition at line 75 of file sparc-sol2-tdep.c.

Definition at line 183 of file sparc-sol2-tdep.c.

void sparc_supply_rwindow ( struct regcache *  regcache,
CORE_ADDR  sp,
int  regnum 
)

Definition at line 1701 of file sparc-tdep.c.

CORE_ADDR sparcnbsd_step_trap ( struct frame_info *  frame,
unsigned long  insn 
)

Definition at line 268 of file sparcnbsd-tdep.c.


Variable Documentation

Definition at line 2026 of file sparc-tdep.c.

Definition at line 51 of file sparc-sol2-tdep.c.

Definition at line 39 of file sparc-sol2-tdep.c.

Definition at line 2020 of file sparc-tdep.c.

Definition at line 2008 of file sparc-tdep.c.

Definition at line 44 of file sparcnbsd-tdep.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines