System Debug Reference Manual (32650-90888)

Chapter 5 165
System Debug Command Specifications Fx-LOG
Fx (format)
the element value.
PAB Print packed array of boolean as a bit string.
NOPAB Print packed array of boolean as an array index followed
by the element value.
ARCH For selected MPE/XL architect types, print the data in the
"expected" fashion.
NOARCH Do no special formatting for MPE/XL architected types.
If no options are given, the default set is:
PAC PAB ARCH
The known types given special treatment with the ARCH option are:
VA_TYPE
SHORT_VA_TYPE
CONVERT_PTR_TYPE
Examples
$nmdebug > symopen gradtyp.demo
Opens the symbolic data type file gradtyp.demo. It is assumed that the Debug variable
addr
contains the address of a StudentRecord data structure in virtual memory. The
following code fragment is from this file:
CONST MINGRADES = 1; MAXGRADES = 10;
MINSTUDENTS = 1; MAXSTUDENTS = 5;
TYPE
GradeRange = MINGRADES . . MAXGRADES;
GradesArray = ARRAY [ GradeRange ] OF integer;
Class = ( SENIOR, JUNIOR, SOPHOMORE, FRESHMAN );
NameStr = string[8];
StudentRecord = RECORD
Name : NameStr;
Id : integer;
Year : Class;
NumGrades : GradeRange;
Grades : GradesArray;
END;
FT (Format Type) Examples
$nmdebug > FT "StudentRecord"
RECORD
NAME : NAMESTR ;
ID : INTEGER ;
YEAR : CLASS ;
NUMGRADES: GRADERANGE ;
GRADES : GRADESARRAY ;
END
Display the structure of StudentRecord.