stabs.info: Symbol Descriptors

Go forward to Type Descriptors
Go backward to Stab Types
Go up to Top
Go to the top op stabs

Table of Symbol Descriptors

The symbol descriptor is the character which follows the colon in many
stabs, and which tells what kind of stab it is.  *Note String Field::,
for more information about their use.
`DIGIT'
`('
`-'
     Variable on the stack; see *Note Stack Variables::.
`:'
     C++ nested symbol; see *Note Nested Symbols::.
`a'
     Parameter passed by reference in register; see *Note Reference
     Parameters::.
`b'
     Based variable; see *Note Based Variables::.
`c'
     Constant; see *Note Constants::.
`C'
     Conformant array bound (Pascal, maybe other languages); *Note
     Conformant Arrays::.  Name of a caught exception (GNU C++).  These
     can be distinguished because the latter uses `N_CATCH' and the
     former uses another symbol type.
`d'
     Floating point register variable; see *Note Register Variables::.
`D'
     Parameter in floating point register; see *Note Register
     Parameters::.
`f'
     File scope function; see *Note Procedures::.
`F'
     Global function; see *Note Procedures::.
`G'
     Global variable; see *Note Global Variables::.
`i'
     *Note Register Parameters::.
`I'
     Internal (nested) procedure; see *Note Nested Procedures::.
`J'
     Internal (nested) function; see *Note Nested Procedures::.
`L'
     Label name (documented by AIX, no further information known).
`m'
     Module; see *Note Procedures::.
`p'
     Argument list parameter; see *Note Parameters::.
`pP'
     *Note Parameters::.
`pF'
     Fortran Function parameter; see *Note Parameters::.
`P'
     Unfortunately, three separate meanings have been independently
     invented for this symbol descriptor.  At least the GNU and Sun
     uses can be distinguished by the symbol type.  Global Procedure
     (AIX) (symbol type used unknown); see *Note Procedures::.
     Register parameter (GNU) (symbol type `N_PSYM'); see *Note
     Parameters::.  Prototype of function referenced by this file (Sun
     `acc') (symbol type `N_FUN').
`Q'
     Static Procedure; see *Note Procedures::.
`R'
     Register parameter; see *Note Register Parameters::.
`r'
     Register variable; see *Note Register Variables::.
`S'
     File scope variable; see *Note Statics::.
`s'
     Local variable (OS9000).
`t'
     Type name; see *Note Typedefs::.
`T'
     Enumeration, structure, or union tag; see *Note Typedefs::.
`v'
     Parameter passed by reference; see *Note Reference Parameters::.
`V'
     Procedure scope static variable; see *Note Statics::.
`x'
     Conformant array; see *Note Conformant Arrays::.
`X'
     Function return variable; see *Note Parameters::.