Back to index

cell-binutils  2.17cvs20070401
Classes | Defines
pef-traceback.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  traceback_table
struct  traceback_table_fixedparams
struct  traceback_table_tboff
struct  traceback_table_interrupts
struct  traceback_table_anchors
struct  traceback_table_routine
struct  traceback_table_alloca
struct  traceback_table_vector

Defines

#define TB_C   0U /* C */
#define TB_FORTRAN   1U /* FORTRAN */
#define TB_PASCAL   2U /* Pascal */
#define TB_ADA   3U /* ADA */
#define TB_PL1   4U /* PL1 */
#define TB_BASIC   5U /* Basic */
#define TB_LISP   6U /* Lisp */
#define TB_COBOL   7U /* eCobol */
#define TB_MODULA2   8U /* Modula2 */
#define TB_CPLUSPLUS   9U /* C++ */
#define TB_RPG   10U /* RPG */
#define TB_PL8   11U /* PL8 */
#define TB_ASM   12U /* Asm */
#define TB_GLOBALLINK   0x80U /* Routine is Global Linkage. */
#define TB_is_eprol   0x40U /* Out-of-line prolog or epilog routine. */
#define TB_HAS_TBOFF   0x20U /* tb_offset set (extension field). */
#define TB_INT_PROC   0x10U /* Internal leaf routine. */
#define TB_HAS_CTL   0x08U /* Has controlled automatic storage. */
#define TB_TOCLESS   0X04U /* Routine has no TOC. */
#define TB_FP_PRESENT   0x02U /* Routine has floating point ops. */
#define TB_LOG_ABORT   0x01U /* fp_present && log/abort compiler opt. */
#define TB_INT_HNDL   0x80U /* Routine is an interrupt handler. */
#define TB_NAME_PRESENT   0x40U /* Name_len/name set (extension field). */
#define TB_USES_ALLOCA   0x20U /* Uses alloca() to allocate storage. */
#define TB_CL_DIS_inv   0x1CU /* On-condition directives (see below). */
#define TB_SAVES_CR   0x02U /* Routine saves the CR. */
#define TB_SAVES_LR   0x01U /* Routine saves the LR. */
#define TB_CL_DIS_INV(x)   (((x) & cl_dis_inv) >> 2U)
#define TB_WALK_ONCOND   0U /* Walk stack without restoring state. */
#define TB_DISCARD_ONCOND   1U /* Walk stack and discard. */
#define TB_INVOKE_ONCOND   2U /* Invoke a specific system routine. */
#define TB_STORES_BC   0x80U /* Routine saves frame ptr of caller. */
#define TB_SPARE2   0X40U /* Spare bit. */
#define TB_FPR_SAVED   0x3fU /* Number of FPRs saved (max of 32). */
#define TB_NUM_FPR_SAVED(x)   ((x) & fpr_saved)
#define TB_HAS_VEC_INFO   0x80U /* Routine uses vectors. */
#define TB_SPARE3   0X40U /* Spare bit. */
#define TB_GPR_SAVED   0x3fU /* Number of GPRs saved (max of 32). */
#define TB_NUM_GPR_SAVED(x)   ((x) & gpr_saved)
#define TB_FLOATPARAMS   0xfeU /* Number of floating point parameters. */
#define TB_PARAMSONSTK   0X01U /* All parameters are on the stack. */
#define TB_NUM_FLOATPARAMS(X)   (((x) & floatparams) >> 1U)
#define FIXED_PARAM   0 /* '0' ==> fixed param (1 gpr or word). */
#define SPFP_PARAM   2 /* '10' ==> single-precision float param. */
#define DPFP_PARAM   3 /* '11' ==> double-precision float param. */
#define PARAM_ENCODING(x, bit)
#define TB_VR_SAVED   0xFCU /* Number of saved vector registers. */
#define TB_SAVES_VRSAVE   0x02U /* Saves VRsave. */
#define TB_HAS_VARARGS   0x01U /* Routine has a variable argument list. */
#define TB_NUM_VR_SAVED(x)   (((x) & TB_VR_SAVED) >> 2U)
#define TB_VECTORPARAMS   0xfeU /* Number of vector parameters. */
#define TB_VEC_PRESENT   0x01U /* Routine uses at least one vec instr. */
#define VECPARAMS(x)   (((x) & TB_VECTORPARAMS) >> 1U)

Class Documentation

struct traceback_table

Definition at line 107 of file pef-traceback.h.

Class Members
unsigned char fixedparams
unsigned char flags1
unsigned char flags2
unsigned char flags3
unsigned char flags4
unsigned char flags5
unsigned char lang
unsigned char version
struct traceback_table_fixedparams

Definition at line 132 of file pef-traceback.h.

Class Members
unsigned long paraminfo
struct traceback_table_tboff

Definition at line 152 of file pef-traceback.h.

Class Members
unsigned long tb_offset
struct traceback_table_interrupts

Definition at line 160 of file pef-traceback.h.

Class Members
long hand_mask
struct traceback_table_anchors

Definition at line 168 of file pef-traceback.h.

Class Members
unsigned long ctl_info
long ctl_info_disp
struct traceback_table_routine

Definition at line 178 of file pef-traceback.h.

Class Members
char name
unsigned short name_len
struct traceback_table_alloca

Definition at line 188 of file pef-traceback.h.

Class Members
char alloca_reg
struct traceback_table_vector

Definition at line 197 of file pef-traceback.h.

Class Members
unsigned char vec_flags1
unsigned char vec_flags2

Define Documentation

#define DPFP_PARAM   3 /* '11' ==> double-precision float param. */

Definition at line 140 of file pef-traceback.h.

#define FIXED_PARAM   0 /* '0' ==> fixed param (1 gpr or word). */

Definition at line 138 of file pef-traceback.h.

#define PARAM_ENCODING (   x,
  bit 
)
Value:
/* Yields xxx_PARAM as a function of "bit".  */         \
 ((((x)&(1UL<<(31UL-(bit++))))==0UL) /* Values 0:31 (left-to-right). "bit" is */    \
 ? FIXED_PARAM /* an L-value that's left incremented to */                          \
 : ((((x)&(1UL<<(31UL-(bit++))))==0)/* the next bit position for the next */        \
 ? SPFP_PARAM /* parameter.  This will be 1 or 2 bit */                             \
 : DPFP_PARAM)) /* positions later.  */

Definition at line 142 of file pef-traceback.h.

#define SPFP_PARAM   2 /* '10' ==> single-precision float param. */

Definition at line 139 of file pef-traceback.h.

#define TB_ADA   3U /* ADA */

Definition at line 41 of file pef-traceback.h.

#define TB_ASM   12U /* Asm */

Definition at line 50 of file pef-traceback.h.

#define TB_BASIC   5U /* Basic */

Definition at line 43 of file pef-traceback.h.

#define TB_C   0U /* C */

Definition at line 38 of file pef-traceback.h.

#define TB_CL_DIS_inv   0x1CU /* On-condition directives (see below). */

Definition at line 68 of file pef-traceback.h.

#define TB_CL_DIS_INV (   x)    (((x) & cl_dis_inv) >> 2U)

Definition at line 74 of file pef-traceback.h.

#define TB_COBOL   7U /* eCobol */

Definition at line 45 of file pef-traceback.h.

#define TB_CPLUSPLUS   9U /* C++ */

Definition at line 47 of file pef-traceback.h.

#define TB_DISCARD_ONCOND   1U /* Walk stack and discard. */

Definition at line 77 of file pef-traceback.h.

#define TB_FLOATPARAMS   0xfeU /* Number of floating point parameters. */

Definition at line 100 of file pef-traceback.h.

#define TB_FORTRAN   1U /* FORTRAN */

Definition at line 39 of file pef-traceback.h.

#define TB_FP_PRESENT   0x02U /* Routine has floating point ops. */

Definition at line 60 of file pef-traceback.h.

#define TB_FPR_SAVED   0x3fU /* Number of FPRs saved (max of 32). */

Definition at line 84 of file pef-traceback.h.

#define TB_GLOBALLINK   0x80U /* Routine is Global Linkage. */

Definition at line 54 of file pef-traceback.h.

#define TB_GPR_SAVED   0x3fU /* Number of GPRs saved (max of 32). */

Definition at line 93 of file pef-traceback.h.

#define TB_HAS_CTL   0x08U /* Has controlled automatic storage. */

Definition at line 58 of file pef-traceback.h.

#define TB_HAS_TBOFF   0x20U /* tb_offset set (extension field). */

Definition at line 56 of file pef-traceback.h.

#define TB_HAS_VARARGS   0x01U /* Routine has a variable argument list. */

Definition at line 203 of file pef-traceback.h.

#define TB_HAS_VEC_INFO   0x80U /* Routine uses vectors. */

Definition at line 91 of file pef-traceback.h.

#define TB_INT_HNDL   0x80U /* Routine is an interrupt handler. */

Definition at line 65 of file pef-traceback.h.

#define TB_INT_PROC   0x10U /* Internal leaf routine. */

Definition at line 57 of file pef-traceback.h.

#define TB_INVOKE_ONCOND   2U /* Invoke a specific system routine. */

Definition at line 78 of file pef-traceback.h.

#define TB_is_eprol   0x40U /* Out-of-line prolog or epilog routine. */

Definition at line 55 of file pef-traceback.h.

#define TB_LISP   6U /* Lisp */

Definition at line 44 of file pef-traceback.h.

#define TB_LOG_ABORT   0x01U /* fp_present && log/abort compiler opt. */

Definition at line 61 of file pef-traceback.h.

#define TB_MODULA2   8U /* Modula2 */

Definition at line 46 of file pef-traceback.h.

#define TB_NAME_PRESENT   0x40U /* Name_len/name set (extension field). */

Definition at line 66 of file pef-traceback.h.

#define TB_NUM_FLOATPARAMS (   X)    (((x) & floatparams) >> 1U)

Definition at line 103 of file pef-traceback.h.

#define TB_NUM_FPR_SAVED (   x)    ((x) & fpr_saved)

Definition at line 87 of file pef-traceback.h.

#define TB_NUM_GPR_SAVED (   x)    ((x) & gpr_saved)

Definition at line 96 of file pef-traceback.h.

#define TB_NUM_VR_SAVED (   x)    (((x) & TB_VR_SAVED) >> 2U)

Definition at line 205 of file pef-traceback.h.

#define TB_PARAMSONSTK   0X01U /* All parameters are on the stack. */

Definition at line 101 of file pef-traceback.h.

#define TB_PASCAL   2U /* Pascal */

Definition at line 40 of file pef-traceback.h.

#define TB_PL1   4U /* PL1 */

Definition at line 42 of file pef-traceback.h.

#define TB_PL8   11U /* PL8 */

Definition at line 49 of file pef-traceback.h.

#define TB_RPG   10U /* RPG */

Definition at line 48 of file pef-traceback.h.

#define TB_SAVES_CR   0x02U /* Routine saves the CR. */

Definition at line 69 of file pef-traceback.h.

#define TB_SAVES_LR   0x01U /* Routine saves the LR. */

Definition at line 70 of file pef-traceback.h.

#define TB_SAVES_VRSAVE   0x02U /* Saves VRsave. */

Definition at line 202 of file pef-traceback.h.

#define TB_SPARE2   0X40U /* Spare bit. */

Definition at line 83 of file pef-traceback.h.

#define TB_SPARE3   0X40U /* Spare bit. */

Definition at line 92 of file pef-traceback.h.

#define TB_STORES_BC   0x80U /* Routine saves frame ptr of caller. */

Definition at line 82 of file pef-traceback.h.

#define TB_TOCLESS   0X04U /* Routine has no TOC. */

Definition at line 59 of file pef-traceback.h.

#define TB_USES_ALLOCA   0x20U /* Uses alloca() to allocate storage. */

Definition at line 67 of file pef-traceback.h.

#define TB_VEC_PRESENT   0x01U /* Routine uses at least one vec instr. */

Definition at line 210 of file pef-traceback.h.

#define TB_VECTORPARAMS   0xfeU /* Number of vector parameters. */

Definition at line 209 of file pef-traceback.h.

#define TB_VR_SAVED   0xFCU /* Number of saved vector registers. */

Definition at line 201 of file pef-traceback.h.

#define TB_WALK_ONCOND   0U /* Walk stack without restoring state. */

Definition at line 76 of file pef-traceback.h.

#define VECPARAMS (   x)    (((x) & TB_VECTORPARAMS) >> 1U)

Definition at line 212 of file pef-traceback.h.