Debugging with GDB (September 2007)
116 Debugging with GDB
14.2 HP-UX dependencies
14.2.1 Linker Dependencies
Several features available in WDB depend on specific versions of the linker or the com-
piler.
• 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 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 syste ms , and linker version
B.12.46 and later on Integrity systems.
14.2.2 Dependent Standard Library Routines for Run Time
Checking
The Run Time Checking feature (Interactive and Batch Mode) of 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:
abort() atoi()
chdir() dlsym()
strstr() strcat()
ctime() dlclose()
memchr() strrchr()
dlgetname() dlget()
clock_gettime() strlen()
dlhook() dlmodinfo()
environ() getenv()
strlen() execl()
exit() fclose()
fork() strdup()
fopen() fprintf()
fscanf() sscanf()
strcasecmp() getcwd()
getpagesize() getpid()