GDB (API)
Defines | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/sparc64-tdep.h File Reference
#include "sparc-tdep.h"

Go to the source code of this file.

Defines

#define BIAS   2047
#define r_tstate_offset   r_psr_offset
#define r_fprs_offset   r_wim_offset
#define SPARC64_PSTATE_AG   0x001
#define SPARC64_PSTATE_IE   0x002
#define SPARC64_PSTATE_PRIV   0x004
#define SPARC64_PSTATE_AM   0x008
#define SPARC64_PSTATE_PEF   0x010
#define SPARC64_PSTATE_RED   0x020
#define SPARC64_PSTATE_TLE   0x100
#define SPARC64_PSTATE_CLE   0x200
#define SPARC64_PSTATE_PID0   0x400
#define SPARC64_PSTATE_PID1   0x800

Enumerations

enum  sparc64_regnum {
  SPARC64_F32_REGNUM = SPARC_F0_REGNUM + 32, SPARC64_F62_REGNUM = SPARC64_F32_REGNUM + 15, SPARC64_PC_REGNUM, SPARC64_NPC_REGNUM,
  SPARC64_STATE_REGNUM, SPARC64_FSR_REGNUM, SPARC64_FPRS_REGNUM, SPARC64_Y_REGNUM,
  SPARC64_CWP_REGNUM, SPARC64_PSTATE_REGNUM, SPARC64_ASI_REGNUM, SPARC64_CCR_REGNUM,
  SPARC64_D0_REGNUM, SPARC64_D10_REGNUM = SPARC64_D0_REGNUM + 5, SPARC64_D30_REGNUM = SPARC64_D0_REGNUM + 15, SPARC64_D32_REGNUM = SPARC64_D0_REGNUM + 16,
  SPARC64_D62_REGNUM = SPARC64_D0_REGNUM + 31, SPARC64_Q0_REGNUM, SPARC64_Q8_REGNUM = SPARC64_Q0_REGNUM + 2, SPARC64_Q28_REGNUM = SPARC64_Q0_REGNUM + 7,
  SPARC64_Q32_REGNUM = SPARC64_Q0_REGNUM + 8, SPARC64_Q60_REGNUM = SPARC64_Q0_REGNUM + 15
}

Functions

void sparc64_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
void sparc64_supply_gregset (const struct sparc_gregset *gregset, struct regcache *regcache, int regnum, const void *gregs)
void sparc64_collect_gregset (const struct sparc_gregset *gregset, const struct regcache *regcache, int regnum, void *gregs)
void sparc64_supply_fpregset (const struct sparc_fpregset *fpregset, struct regcache *regcache, int regnum, const void *fpregs)
void sparc64_collect_fpregset (const struct sparc_fpregset *fpregset, const struct regcache *regcache, int regnum, void *fpregs)
void sparc64_sol2_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
struct trad_frame_saved_regsparc64nbsd_sigcontext_saved_regs (CORE_ADDR sigcontext_addr, struct frame_info *next_frame)

Variables

struct sparc_gregset sparc64_sol2_gregset
struct sparc_fpregset sparc64_sol2_fpregset
struct sparc_gregset sparc64fbsd_gregset
struct sparc_gregset sparc64nbsd_gregset
struct sparc_fpregset sparc64_bsd_fpregset

Define Documentation

#define BIAS   2047

Definition at line 35 of file sparc64-tdep.h.

#define r_fprs_offset   r_wim_offset

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

#define r_tstate_offset   r_psr_offset

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

#define SPARC64_PSTATE_AG   0x001

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

#define SPARC64_PSTATE_AM   0x008

Definition at line 89 of file sparc64-tdep.h.

#define SPARC64_PSTATE_CLE   0x200

Definition at line 93 of file sparc64-tdep.h.

#define SPARC64_PSTATE_IE   0x002

Definition at line 87 of file sparc64-tdep.h.

#define SPARC64_PSTATE_PEF   0x010

Definition at line 90 of file sparc64-tdep.h.

#define SPARC64_PSTATE_PID0   0x400

Definition at line 94 of file sparc64-tdep.h.

#define SPARC64_PSTATE_PID1   0x800

Definition at line 95 of file sparc64-tdep.h.

#define SPARC64_PSTATE_PRIV   0x004

Definition at line 88 of file sparc64-tdep.h.

#define SPARC64_PSTATE_RED   0x020

Definition at line 91 of file sparc64-tdep.h.

#define SPARC64_PSTATE_TLE   0x100

Definition at line 92 of file sparc64-tdep.h.


Enumeration Type Documentation

Enumerator:
SPARC64_F32_REGNUM 
SPARC64_F62_REGNUM 
SPARC64_PC_REGNUM 
SPARC64_NPC_REGNUM 
SPARC64_STATE_REGNUM 
SPARC64_FSR_REGNUM 
SPARC64_FPRS_REGNUM 
SPARC64_Y_REGNUM 
SPARC64_CWP_REGNUM 
SPARC64_PSTATE_REGNUM 
SPARC64_ASI_REGNUM 
SPARC64_CCR_REGNUM 
SPARC64_D0_REGNUM 
SPARC64_D10_REGNUM 
SPARC64_D30_REGNUM 
SPARC64_D32_REGNUM 
SPARC64_D62_REGNUM 
SPARC64_Q0_REGNUM 
SPARC64_Q8_REGNUM 
SPARC64_Q28_REGNUM 
SPARC64_Q32_REGNUM 
SPARC64_Q60_REGNUM 

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


Function Documentation

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

Definition at line 1489 of file sparc64-tdep.c.

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

Definition at line 1341 of file sparc64-tdep.c.

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

Definition at line 1166 of file sparc64-tdep.c.

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

Definition at line 160 of file sparc64-sol2-tdep.c.

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

Definition at line 1451 of file sparc64-tdep.c.

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

Definition at line 1224 of file sparc64-tdep.c.

struct trad_frame_saved_reg* sparc64nbsd_sigcontext_saved_regs ( CORE_ADDR  sigcontext_addr,
struct frame_info *  next_frame 
) [read]

Definition at line 91 of file sparc64nbsd-tdep.c.


Variable Documentation

Definition at line 1526 of file sparc64-tdep.c.

Definition at line 49 of file sparc64-sol2-tdep.c.

Definition at line 36 of file sparc64-sol2-tdep.c.

Definition at line 37 of file sparc64fbsd-tdep.c.

Definition at line 40 of file sparc64nbsd-tdep.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines