
Go backward to STAB type Specifications
Go up to The SOURCE and STAB Directives
Go forward to STAB - Structure and Union specifications
STAB - Local Variable Descriptions
Local variables are described using STAB directives that are very
similar to those used for global variables. The first argument
of such a directive is the word "LOCVAR" rather than "GLOBVAR"
and the offset is specified relative to the function activation record
with which the variable is associated. Otherwise the directive is
identical to a GLOBVAR directive.
The second argument specifies the
variable name and the fourth the variable's type.
The assember associates each STAB-LOCVAR directive it encounters with
the function described by the most recently processed
STAB-FUNCTION directive.
It is an error to include an STAB-LOCVAR directive before
the first STAB-FUNCTION directive.