Debugging with GDB Manual The GNU Source-Level Debugger (769148-001, March 2014)
• Source level debugging of Fortran applications that contain nested routines.
• Command watch_target.
• Command line option set display-full-path that displays the full pathname of the
source file name while printing the frame information.
• Command line option set dereference [on |off] when off, HP WDB does not
dereference char * variables by default.
• Updated Procedure to Process the Initialization File
• Enhancement to the info shared Command
• Enhancement to the info target Command
• Support for automatic debugging of shared libraries
• Attaching a PA-RISC debugger to a PA-RISC process
NOTE: For new commands see HP WDB Release Notes available at http://www.hp.com/go/
wdb.
HP-UX dependencies
Linker Dependencies
Several features available in HP WDB depend on specific versions of the linker or the compiler.
• Linker patch required for +objdebug
For releases prior to HP-UX 11i v2 (for IA) and HP-UX 11i v1 (for PA-RISC), you must install
the latest linker patch to generate object modules that enable faster linking and smaller
executable file sizes for large applications. See your compiler release notes for more details.
• Support for debugging incrementally linked 64-bit programs
This feature requires linker version B.11.18 or later on HP-UX 11i v1.
• Support to automatically preload librtc.sl with chatr +mem_check option.
This feature requires linker version B.11.61 and later on HP 9000 systems, and linker version
B.12.46 and later on Integrity systems. +mem_check option is used only for memory
debugging.
• Support to automatically preload librtc.sl with chatr +rtc option.
This feature requires linker version B.11.66 and later on HP 9000 systems, and linker version
B.12.51 and later on Integrity systems. However, +mem_check option is retained with the
latest Linker version.
• HP-UX/Integrity linker version B.12.56 is required for debugging from the side debug file.
Dependent Standard Library Routines for Run Time Checking
The Run Time Checking feature (Interactive and Batch Mode) of HP WDB cannot be used with
applications that re-define or over-ride the default system-supplied versions of the standard library
routines under libc.so and libdld.so. The following standard libraries are dependencies for
runtime checking:
unlink()abort()
uwx_register_callbacks()atoi()
lseek()chdir()
open()dlsym()
sprintf()strstr()
strcmp()strcat()
HP-UX dependencies 99