DEBUG option considerations
Use the DEBUG option with the XL C/C++ compilers to write DWARF debugging information. This debugging information can be written to an MVS™ data set or HFS file. Fault Analyzer locates DWARF files from information in the load module.
DWARF files for all the compile units in a load module can be combined, together with source,
into an MDBG side file (the CDADBGLD utility is used for this). Like DWARF, MDBG files can reside in
an MVS™ data set or HFS file. MDBG files stored in MVS™ data sets are located via the IDISYSDB DD. MDBG side files in HFS are self-locating,
and as such must adhere to the following:
- MDBG files should reside in the same HFS directory as the original DWARF files.
- The name of the MDBG file should be the same as the load module it was created from, and have a file extension of .mdbg.
- The MDBG file name and extension cannot consist of mixed case characters. The case of both the file name and extension are determined from the file name and extension of the original DWARF file for the compile unit (thus, it is possible for the file name to be upper case while the file extension is lower, and vice versa).