pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
On the command-line platform, debug loadfiles that were compiled through the pTAL cross compiler
either by using Visual Inspect on Windows or by running Native Inspect on the NonStop RISC-based
or Itanium-based server. To use Native Inspect, you must copy the loadfiles and the source files to
the host (see PC-to-NonStop-Host Transfer Tools (page 431)).
For more information:
SourceTopic
Visual Inspect online helpVisual Inspect
Native Inspect ManualNative Inspect
CAUTION: If you use the CODECOV (page 385) command line option to direct a TNS/E EpTAL
compiler to generate instrumented object code, the Code Coverage Utility connects to the application
program as a debugger to read its memory, and so on.
This causes all the debug requests to wait until the Code Coverage Utility (the active debugger)
detaches from the application. The Code Coverage Utility only detaches after the instrumented
application stops.
Therefore, if you must debug an instrumented application, it should be started in debug mode by
using the TACL RUND or RUNV commands.
Tools and Utilities
The following tools and utilities allow you to use the pTAL cross compiler more efficiently:
• NonStop ar Utility (page 430)
• TACL DEFINE Tool (ETK) (page 431)
• PC-to-NonStop-Host Transfer Tools (page 431)
NonStop ar Utility
The NonStop ar utility creates and maintains archives composed of groups of object files. After
an archive has been created, new files can be added and existing files can be extracted, deleted,
or replaced.
The ar utility accepts all OSS files, Guardian TNS code files, Guardian C text files (file code 180
files), TNS/R (PIC and non-PIC) native object files, and TNS/E native linkfiles or loadfiles as archive
members.
You can mix one or more object file formats in one archive file; however, such an archive file will
not contain the symbols table and cannot be used by the linker.
If an archive contains one or more native object files of the same format, the linker can use the
archive as an object file library, replacing most functions provided by the Binder SELECT SEARCH
command.
For more information, see ...
This cross linker can use the archive
as an object file library ...If an archive contains one or more ...
nld Manualnld on a G-Series systemTNS/R non-PIC object files
ld ManualldTNS/R PIC object files
eld ManualeldTNS/E PIC object files
430 pTAL Cross Compiler