HP WDB 5.9 Release Notes

The +rtc<enable|disable> option is available for dynamic linker versions B.11.66
and later on HP 9000 systems, and dynamic linker versions B.12.51 and later on Integrity
systems.
To set the target application to preload librtc.[sl|so], enter the following command
at the HP-UX prompt:
$ chatr +rtc enable <executable>
The +rtc option for the chatr simplifies the steps for batch mode and attach mode
of memory and thread debugging. Run Time Checking (Memory and Thread debugging)
is made available using this option.
Simplified Steps for RTC Using the +rtc option for the chatr command:
To use batch mode memory leak detection, complete the following steps:
1. Compile the source files.
2. Create an rtcconfig file in the current directory with the required batch mode
commands.
3. Define the environment variable BATCH_RTC at the HP-UX prompt, as follows:
export BATCH_RTC=on
4. Enter the following command at the HP-UX prompt to set the target application
to preload librtc.[sl|so] :
$ chatr +rtc enable <executable>
At the end of the run, output data file is created in output_dir (if defined in
rtcconfig), or the current directory.
To use batch mode thread debugging, complete the following steps:
1. Compile the source files.
2. Set the LD_LIBRARY_PATH environment variable to appropriate directory based
on the platform.
3. Create an rtcconfig file in the current directory with the required thread
conditions.
4. Define the environment variable BATCH_RTC at the HP-UX prompt, as follows:
export BATCH_RTC=on
5. Enter the following command at the HP-UX prompt to set the target application
to preload librtc.[sl|so]:
$ chatr +rtc enable <executable>
If HP WDB detects any thread error condition during the application run, the error log
is output to a file in the current working directory. The output file has the following
naming convention:
<executable name>.<pid>.threads
where:
10