HP WDB 5.7 Release Notes
HP WDB 5.7 Release Notes
Announcement
HP Wildebeest Debugger (WDB) 5.7 is an HP-supported implementation of the open source
debugger GDB. It supports source-level debugging of programs written in HP C, HP aC++, and
Fortran 90 on Itanium®-based systems running HP-UX 11i v2 or HP-UX 11i v3, and HP 9000
systems running HP-UX 11i v1, HP-UX 11i v2, or HP-UX 11i v3.
This document discusses the most recent product information for HP WDB 5.7
For the latest version of HP WDB, see the HP WDB Technical Resources website at:
http://www.hp.com/go/wdb
What Is New in This Version
This section describes the new features that are introduced in this version of HP WDB.
The following new features are supported in HP WDB 5.7 for Integrity systems:
• “Enhanced Support for Debugging Optimized Code” (page 7)
— “Printing Values of the Local Variables in Optimized Code Built With –g” (page 7)
— “Support to Prevent the Debugged Program from Stopping at Instructions that are
Predicated False ” (page 8)
• “Debugging Macros” (page 8)
• “Printing the Execution Path Entries for the Current Frame or Thread” (page 9)
• “Automatic Preloading of librtc.[sl|so] with the New +mem_check Option for the chatr
Command” (page 11)
• “Support for Aborting a Command Line Call” (page 12)
• “Improved Batch Mode Memory Debugging” (page 12)
The following new feature is supported in HP WDB 5.7 for HP 9000 systems:
• “Automatic Preloading of librtc.[sl|so] with the New +mem_check Option for the chatr
Command” (page 11)
• “Support for Aborting a Command Line Call” (page 12)
• “Improved Batch Mode Memory Debugging” (page 12)
What is New in This Version of HP WDB for Integrity Systems
The following new features are introduced in this version of HP WDB for Integrity systems:
Enhanced Support for Debugging Optimized Code
HP WDB 5.7 provides the following enhanced support for debugging optimized code:
• “Printing Values of the Local Variables in Optimized Code Built With –g” (page 7)
• “Support to Prevent the Debugged Program from Stopping at Instructions that are Predicated
False ” (page 8)
Printing Values of the Local Variables in Optimized Code Built With –g
HP WDB 5.7 enables you to examine local variables and formal parameters in programs that are
compiled with optimization levels above +O1 (available for compiler versions A.06.15 and
later). This feature is available for live processes, and core files that are created by optimized
code. Limited stepping operations in the optimized code continue to be supported with no
additional enhancements.
The debugger reports the values of the variables in the optimized source code. However, as a
result of optimization, there are code locations where the value of the local variables may not be
Announcement 7