z/TPF Program Management - IBM
z/TPF Program Management - IBM
z/TPF Program Management - IBM
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Load z/<strong>TPF</strong> debugger information<br />
When you run the offline build procedure by using the Make<strong>TPF</strong> build solution,<br />
source code is converted into an executable and link format (ELF) module to<br />
produce a shared object. Debug data can be included in this shared object.<br />
The offline loader writes two copies of each shared object to the desired storage<br />
medium: in one of the copies, the debug data is removed; in the other copy, the<br />
debug data remains intact. When running the offline loader, you can use the<br />
@DEFINE control statement in the loader input file to specify whether to write the<br />
shared object with debug data to the desired storage medium.<br />
Note: No debug data is loaded when you use the loader general file loader.<br />
The online load (performed by using the ZOLDR LOAD command or the ZTPLD<br />
command) then writes the shared object containing the debug data to the z/<strong>TPF</strong><br />
collection support file system (TFS). The file will be written based on the following<br />
directory structure:<br />
/tpfdbgelf/ab/abcd/ts<br />
Where:<br />
/tpfdbgelf is the root directory<br />
/ab is the first two letters of the program name<br />
/abcd is the four-character program name<br />
/ts is the timestamp given to the shared object by the post-processor.<br />
User exit UELJ determines how many copies of the debug files are kept. You can<br />
use the NODEBUG option in the online loader component to specify that the shared<br />
object with debug data is not to be written to the z/<strong>TPF</strong> collection support file<br />
system.<br />
If you use the ZAPGM command to change a program that has debug data, the<br />
z/<strong>TPF</strong> debugger might not display an accurate listing view of the program.<br />
See z/<strong>TPF</strong> Debugger User's Guide for information about the z/<strong>TPF</strong> debugger. See<br />
z/<strong>TPF</strong> Operations for information about the ZOLDR LOAD, ZTPLD, and ZAPGM<br />
commands.<br />
© Copyright <strong>IBM</strong> Corp. 2005, 2012 85