HP WDB 5.
© Copyright 2008 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.
Table of Contents HP WDB 5.9 Release Notes...........................................................................................................7 Announcement.....................................................................................................................7 What Is New in This Version................................................................................................7 Debugger Support for Decimal Floating Point data type...............................................
List of Tables 1 2 3 4 Dependent Library Routines for Run Time Checking using WDB............................13 HP WDB Installation...................................................................................................16 HP WDB Documentation............................................................................................
List of Examples 1 Binary Floating point constant......................................................................................
HP WDB 5.9 Release Notes Announcement HP Wildebeest Debugger (WDB) 5.9 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.
This prints the decimal floating point constant based on the data type Printing Decimal floating point variable (gdb) print/ = df, dd, dl - variable name This prints the decimal floating point variable. If you specify format fmt then it prints the variable based on its data type. Evaluate Decimal floating point data types HP WDB 5.9 enables you to evaluate the decimal floating point variable and display the output.
NOTE: HP WDB does not support decimal floating point data type for the following: • Command line calls of intrinsic functions (Mathematical functions such as cos, sin, and log ) • Decimal floating point data type support for FORTRAN and c++ • HP-UX 11iv2 Integrity and HP 9000 systems Additional Support for binary floating point data type HP WDB 5.
The +rtc option is available for dynamic linker versions B.11.66 and later on HP 9000 systems, and dynamic linker versions B.12.51 and later on Integrity systems. To set the target application to preload librtc.[sl|so], enter the following command at the HP-UX prompt: $ chatr +rtc enable The +rtc option for the chatr simplifies the steps for batch mode and attach mode of memory and thread debugging.
pid is the process id. Simplified steps for Run Time Checking in the Attach Mode This section describes the simplified steps for Run Time checking in the Attach mode using the +rtc option for the chatr command. For debugging memory after attaching GDB to a running process, complete the following steps: 1. Enter the following command at the HP-UX prompt to set the target application to preload the librtc.[sl|so] runtime library. $ chatr +rtc enable 2. 3. Run the program.
NOTE: +mem_check to chatr command can be used to automatically preload the library for memory debugging. The +mem_check option to chatr command doesn’t support automatic preloading of libraries needed for thread debugging. Availability of a new compiler runtime check option +check=thread The new compiler runtime check option +check=thread enables batch mode thread debugging features of HP WDB, without setting any other environment at runtime. +check=thread must only be used with multi-threaded programs.
• • • • • GDB crashes while printing the type and value of the structure member of array type with array of size MAX_INT_32. GDB crashes while reading the elf large section details of the application that contains large number of sections. GDB crashes while printing the type of the member function of the class whose function name is similar to that of function name in standard libraries. Occassional gdb crash with batch mode thread check when application aborts.
Table 1 Dependent Library Routines for Run Time Checking using WDB (continued) uwx_self_init_context pthread_getschedparam uwx_self_init_info uwx_register_alloc_cb strstr uwx_register_callbacks uwx_self_lookupip 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.
Known Problems and Workarounds This section describes known problems and the suggested workarounds in this release of HP WDB.
This occurs when GDB attempts a command line call on an already overflowing thread stack. Known Limitations This section describes known limitations in this release of HP WDB. Batch Mode Thread Debugging • • • The feature does not obtain the thread-error information in batch mode for forked process in a multiprocessing application. However, if the librtc.sl library is pre-loaded, the debugger obtains the thread-error information in the batch mode for exec-ed application.
Compatibility HP WDB is not supported on releases of the HP-UX operating system prior to 11i v1. Supported Configurations The following configurations are supported by HP WDB: • • Installing and running locally on an HP-UX 11i v1, HP-UX 11i v2, or HP-UX 11i v3 operating system. Installing on an HP-UX 11i v1, HP-UX 11i v2, or HP-UX 11i v3 system, with the display redirected to a remote HP-UX 11.x node.
For more information on installation procedures and related issues, see the Managing HP-UX Software with SD-UX and other README, installation, and upgrade documentation provided with the HP-UX 11.x operating system package. NOTE: If you install a compiler product that includes a version of HP WDB earlier than this version, swinstall generates the following message: ERROR: A later revision (one with a higher revision number) of fileset "WDB-GUI.WDB-GUI-HELP,r=B.11.31" has already been installed.
Software Availability in Native Languages HP WDB 5.9 is available in the English language only. WDB Mailing Lists To receive an electronic mail message only when HP releases a new version of HP WDB, subscribe to the product news mailing list. Send an electronic mail message to: majordomo@cxx.cup.hp.