HP gnu source-level debugger 5992-4701 User Manual
Page 171

2.
The rtcconfig file should contain entries such as the following:
check_heap=on
check_leaks=on
check_free=on
files=exec1:exec2:exec3
output_dir=/tmp/results
3.
Set the following environment variables as follows:
export BATCH_RTC=on
4.
Complete one of the following steps:
— Use the +rtc option for the chatr command on each of the required
executable files that must be instrumented, as follows:
$ chatr +rtc enable exec1 exec2 exec3
OR
— Preload the librtc library as follows:
export LD_PRELOAD /opt/langtools/lib/hpux32/librtc.so
5.
Run the program as follows:
./exec1
Suppose exec1 eventually spawns exec2, exec3, exec4, exec5, only
exec1
, exec2, exec3 will be instrumented based on the settings in the
rtcconfig
file.
14.10.6 Debugging Memory Interactively After Attaching to a Running Process
HP WDB accepts -pid or -p followed by a process ID to attach a running process to
the debugger.
To use Batch RTC after attaching GDB to a running process, complete the following
steps:
14.10 Debugging Memory Problems
171
- NRM42 (61 pages)
- ProLiant ML370 (49 pages)
- ProLiant ML370 (50 pages)
- ProLiant ML110 G5 (32 pages)
- PC Comm Station Pro 304251-008 (North America) (5 pages)
- 100B-TX (32 pages)
- 3C905B-TX (110 pages)
- EK-STWCT-UG. E01 (45 pages)
- 3800ux (13 pages)
- 5991-6764 (8 pages)
- LTO 4 FC (46 pages)
- StorageWorks Network Attached Storage X3000 (16 pages)
- Ultrium Drive (30 pages)
- ProLiant DL360 (49 pages)
- CD Leycom CFL-512 (5 pages)
- RDX160 (12 pages)
- 345524-B21 (54 pages)
- DT-20 (20 pages)
- SureStore 7115w (136 pages)
- HD1600 (2 pages)
- ProLiant DL160 (38 pages)
- Vectra XW (16 pages)
- D2D4004i (20 pages)
- F1588A (4 pages)
- 94500 (1 page)
- Computer Parts (21 pages)
- MSA50 (8 pages)
- 7750 (32 pages)
- Media Gateways G350 (76 pages)
- P400 Serial (9 pages)
- MSL4048 (4 pages)
- 3C590-TPO (40 pages)
- mv2040 (2 pages)
- AHA-8940 (82 pages)
- ProLiant DL385 (47 pages)
- ProLiant DL385 (174 pages)
- 5300A (19 pages)
- AMD Geode E2047551001R (111 pages)
- 1100d (102 pages)
- Reliable Transaction Router (100 pages)
- xp1024 (2 pages)
- 180 Degree Turn (24 pages)
- procurve J8165A (32 pages)
- 04H8095 (28 pages)
- 744 (154 pages)