HP WDB 6.
© Copyright 2011 Hewlett-Packard Development Company, L.P Legal Notices Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. The information contained in this document is subject to change without notice.
Contents HP WDB 6.2 Release Notes........................................................................................................4 Announcement.........................................................................................................4 What Is New in This Version......................................................................................4 Reporting Files Open by an Application.................................................................
HP WDB 6.2 Release Notes Announcement HP Wildebeest Debugger (WDB) 6.2 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 6.2.
Smarter Printing of Function Pointers WDB is made smarter now in printing the function pointers. It now decodes extra level of indirection for the programmer’s convenience. More Intuitive Leak Reports A note will be appended to every memory debugging report providing more details for function names displayed as ???. Debugging with Debug Information Available In the Side Debug File From version B.12.56, the HP-UX/Integrity linker has added an option +dbgfile .
• Gdb does not detect core file and executable mismatch and sometimes crashes in dld. • User disabled watchpoint gets wrongly re-enabled automatically. • Gdb sometimes wrongly gives out a message that the target program received SIGSEGV, when a misaligned load is retired and a wacthpoint is set. • Gdb sometimes crashes after watchpoint is set on local variable.
workaround is to use the packcore command to obtain the core file and the involved load modules into the system on which the debugging occurs.
This occurs when GDB attempts a command line call on an already overflowing thread stack. Mixed Mode Debugging Following are known issues in mixed mode debugging: • Listing of registers currently in use for PA-RISC 32-bit shared library frames causes the unswizzled 32-bit values to be displayed. • Clicking on the registers tab for a PA-RISC frame in the WDB-GUI results in incorrect register information being displayed. Alternatively, execute the info reg command at the gdb prompt in the Commands tab.
pre-loaded, the debugger obtains the thread-error information in the batch mode for exec-ed application. • HP WDB cannot execute both batch mode thread check and batch mode heap check together. If the rtcconfig file has both entries, then batch heap check overrides the batch thread check. Mixed Mode Debugging The following are not supported for mixed mode debugging: • Placing a breakpoint on a PA-RISC library.
Table 1 HP WDB Installation Product Name Description HP WDB HP WDB -The HP implementation of the open source debugger GDB HP WDB GUI Optional graphical user interface component for HP WDB If you install HP WDB GUI on a system where HP WDB has not yet been installed, HP WDB is installed automatically. Compatibility HP WDB is not supported on releases of the HP-UX operating system prior to 11i v1.
Disk Space Requirements For information on the disk space requirements to install HP WDB 6.2, see the Downloads website at: http://www.hp.com/go/wdb/ Installation Instructions To install HP WDB, run the SD-UX swinstall command. It invokes a user interface that leads you through the installation. It also gives you information about disk space requirements, version numbers, product descriptions, and dependencies.
Table 2 HP WDB Documentation Document Format Location Debugging with GDB PDF /opt/langtools/wdb/doc/gdb.pdf Emacs: /opt/langtools/wdb/doc/gdb.info (Copy the files to your info directory first.) GDB Quick Reference Card PDF /opt/langtools/wdb/doc Getting Started with HP WDB HTML /opt/langtools/wdb/doc/html/wdb/C/ GDBtutorial.html XDB to WDB Transition Guide HTML /opt/langtools/wdb/doc/index.html Using the HP WDB Terminal User HTML Interface /opt/langtools/wdb/doc/index.