HPlogo HP WDB 5.0 Release Notes: HP 9000 and HP Integrity Systems > Chapter 2 What Is in This Version

Summary of Changes in HP WDB 5.0

» 

Technical documentation

 » Table of Contents

This version includes corrections to defects as well as several enhancements.

  • HP WDB 5.0 supports the following commands to support debugging exception handlers in C++ on Itanium-based systems:

    • catch throw: Catches all the exceptions when they are thrown and stops the program when an exception is thrown.

    • catch catch: Catches all the exceptions when caught and stops the program when an exception is caught.

    • info catch [all | *address | filename:line | line]: Prints a list of all the exception handlers that are active in the current stack frame at the current point of execution. To see other exception handlers, visit the associated frame (using the up, down, or frame commands); then type info catch. Use the argument all to see the exception handlers of all the frames. Use argument *address to see the exception handlers for a particular PC location. Use argument filename:line or line to see the exception handlers associated with a particular line.

    NOTE: Exception handling support on Itanium is only available with the aCC compiler A.06.00 and later. For details of the patches that you must install to use this feature, see
  • Support for debugging C++ programs running under LRE (Linux Runtime Environment - IPF Linux binaries running on HP-UX): All of the basic functionality for debugging C and C++ applications is supported with the following exceptions:

    • Examining core files

    • Attaching to a running LRE process

    • Support for any language other than C and C++ (e.g.: FORTRAN, Java)

    • Run Time Checking (RTC) of heap allocations

    • NOTE: The reference Linux platform for this feature is Red Hat 7.2
  • Support for debugging of executables with method and expressions involving covariant return types: Users can step into, step out of, and step over such methods transparently without encountering covariant return adjusting thunks. This feature is supported in HP aCC5 and aCC6 compilers on HP-UX 11.22 and above, but not in g++ on HP-UX or LRE.

    Limitations: Expressions from the WDB command line that invoke methods needing a covariant return type adjustment are not supported.

  • Support for FORTRAN nested routines: GDB 5.0 supports source-level debugging of fortran applications that contain nested routines. GDB will be able to set breakpoint, step-in, step-next, step-out of the nested routines and access the nested routines local variables.

  • Support for template breakpoints: With GDB 5.0, you can set breakpoints on member functions in all instantiations of the template class by just specifying the template name with member function name.

    It is not necessary to specify the instantiation type.

    Setting a breakpoint on a template method with multiple instantiations displays a menu showing all instantiations and the user can choose to set breakpoints on all or any one or none.

    For example:

    (gdb) file testReading symbols from test...done.(gdb) b MyClass::MyMember[0] cancel[1] all[2] MyClass::MyMember(int, int) at test.C:14[3] MyClass::MyMember(int, float) at test.C:14[4] MyClass::MyMember(int, double) at test.C:14
  • Release RTC library renamed: Starting WDB 5.0, the name of the release RTC library has been changed to librtc.so.1. librtc.sl will be linked to librtc.so.1 for backward compatibility. Librtc.so will also be linked to librtc.so.1.

© 2004 Hewlett-Packard Development Company, L.P.