z/OS 1.10 introduces the dbgld utility. It will significantly improve the startup time and performance of dbx. So how does it work, and how do I take advantage of it? Read on for more details.
When you specify -g option during C/C++ compilation, a debug sidefile (.dbg) is generated for each input source file. To debug an application, dbx would need to locate all of its debug sidefiles, and process debug information stored within them, this is a necessary but time consuming task. dbgld can perform this task before dbx is invoked. In addition, dbgld consolidates all the debug sidefiles into a single sidefile (.mdbg). You can now debug your module, by bringing along just a single .mdbg file.
For more information about dbgld, please refer to dbgld — Create a module map for debugging in XL C/C++ User's Guide.