Debugging with GDB Manual (5900-1473; WDB 6.2; January 2011)

Table Of Contents
NOTE: For new commands see HP WDB Release Notes available at http://
www.hp.com/go/wdb.
14.2 HP-UX dependencies
14.2.1 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.
14.2.2 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()
14.2 HP-UX dependencies 133