This section provides the information necessary for
generating simple Module Begin, Module End, Routine Begin, and Routine End
Debug Symbol Table records.
Module Begin DST record
The Module Begin DST record marks the beginning
of the DST for a module. This DST
record identifies the name of the module and the source language in which it was
written. The Module Begin DST record
must be matched by a Module End DST record that ends the DST for that module.
The format of the Module Begin DST record is as follows:
Module End DST record
The Module End DST record must be the last DST
record in the DST for a code segment. Its sole purpose is to mark the end of the DST for a code segment.
There can be only one Module End DST record
per segment, matching the previous Module Begin DST record.
The format of the Module End DST record is as follows:
Routine Begin DST record
The Routine Begin DST record marks the beginning of a
routine and the associated scope. This
record contains the routine’s name and start address and indicates whether the
routine is a CALLS/CALLG routine or a JSB/BSB routine. It must be matched by a Routine End DST
record later in the DST. For the
purposes of HP DCPI, the procedure descriptor address field of the Routine Begin
DST record is not used.
The format of the Routine Begin DST record is as follows:
Routine End DST record
The Routine End DST record marks the end of a routine's
scope in the DST. It also contains the
length, in bytes, of the routine’s code.
The format of the Routine End DST record is as follows: