General
cancel
Showing results for 
Search instead for 
Did you mean: 

Issues in wdb batch mode debug options

 
Highlighted
Occasional Contributor

Issues in wdb batch mode debug options

When trying to use the memory leaks debugging using the batch mode option in HP Itanium, I followed the steps as mentioned

$ cat rtcconfig
"rtcconfig" 7 lines, 86 characters
set heap-check on
set heap-check leaks on
set heap-check free on
set heap-check string on
files=memtest
output_dir=./

$ cc -g -o memtest memtest.c
$ export BATCH_RTC=on
$ LD_PRELOAD=/opt/langtools/lib/hpux32/librtc.sl ./memtest

Though there were memory leaks in the programme which I was able to identify using the Interactive gdb mode, batch mode did not show any output or create any file. No errors were also obtained. Can nay one suggest what could be the possible reason?
Are there any version level dependencies?
[The same did not work on B.11.11 HP PA machine also.]

Version details --
what /opt/langtools/lib/hpux32/li>
/opt/langtools/lib/hpux32/librtc.sl:
Hewlett-Packard Itanium Debugger Wildebeest 5.5.2 17-Nov-2006 11:13 Itanium 11.23 11.22

$ uname -a
HP-UX a B.11.31 U ia64 1270485177

/opt/ansic/bin/aCC:
HP C/aC++ for Integrity B3910B A.06.12 [Nov 03 2006]
1 REPLY 1
Highlighted
Acclaimed Contributor

Re: Issues in wdb batch mode debug options

>Hewlett-Packard Itanium Debugger Wildebeest 5.5.2 17-Nov-2006 11:13 Itanium 11.23

This may be too old, get the latest wdb.