HP WDB 5.7 Release Notes

Table 1 Dependent Library Routines for Run Time Checking using WDB (continued)
strchruwx_self_copyinunlinktime
shmctlperroruwx_inituwx_step
closeshl_getstrcmpwrite
getpagesizeforkenvirondlgetname
uwx_register_alloc_cbuwx_self_init_infopthread_getschedparamuwx_self_init_context
uwx_self_lookupipuwx_register_callbacksstrstr
The Run Time Checking (dynamic memory, libraries, and pthreads checking) in WDB is
dependent on the semantics and the standard behavior of these library routines. Run Time
Checking in WDB results in unexpected and unpredictable behavior when used with
applications that substitute or redefine these library routines.
Before enabling the Run Time Checking feature in WDB, use the nm command to determine
if your application or the dependent libraries in your application redefine or substitute these
library routines.
From HP WDB 5.7 onwards, the archive version of the run time check library, librtc.a,
is not available. You must use the shared version of the library, librtc.[sl|so], instead.
Batch Mode RTC displays one of the following errors and causes the program to temporarily
hang if the version of WDB and librtc.[sl|so] do not match, or if WDB is not available
on the system:
/opt/langtools/bin/gdb: unrecognized option `-brtc'
Use `/opt/langtools/bin/gdb --help' for a complete list of options.
or
execl failed. Cannot print RTC info: No such file or directory
This error does not occur under normal usage where WDB or librtc.[sl|so] is used
from the default location at /opt/langtools/...
However, this error occurs if GDB_SERVER and/or LIBRTC_SERVER are set to a mismatched
version of WDB or librtc.[sl|so] respectively.
Known Problems and Workarounds
This section describes known problems and the suggested workarounds in this release of HP
WDB.
Debugging an attached process that is not compiled for debugging may generate warnings
On attaching the debugger to a program that is not compiled for debugging, the process
may stop in a system call and the following warning message about the various registers is
displayed:
No data warning: reading 'r3' register: No data warning:
reading 'r4' register: No data warning: reading 'r5'
register: No data warning: reading 'r6' register:
No data warning
This warning occurs when executing the step command, the backtrace command, or
when attempting to view the register information. To avoid this warning message, use the
finish command to execute the process until the system call returns. This warning message
is generated when the process stops at a system call, and the registers cannot be read by the
debugger. When the debugger calls the routine ttrace, it returns this warning.
Error attaching WDB to a process that is traced by tools using ttrace
HP WDB cannot attach to a process that is traced by tools that use ttrace, such as Caliper,
adb, and tusc.
14 HP WDB 5.7 Release Notes