The -mapsharedoption is implemented on both PA-RISC and Itanium platforms in HP WDB 5.2. This option is provided in the WDB GUI and HP WDB. The default behavior does not change if the -mapsharedoption for all shared libraries in processes started under the debugger, or dynamically loaded after an attach, are mapped private.

14.22.6 Setting breakpoints in shared library

Breakpoints can be set on functions in a shared library, by specifying the library name with the function name.

(gdb) b libutil.sl:fun Breakpoint 1 at 0x79a86228: file simple.c, line 13 from /CLO/Components/WDB/build/hppa1.1-hp-hpux11.00/gdb/ simple_shared/lib.sl

14.22.7 Enhancement to the info shared Command

HP WDB 6.0 and later versions provide the enhanced info shared command to display the global pointer (gp) values along with text start, text end, data start, and data end values of the shared library. Following is a sample output of the info shared command with the gp values:

tstart

tend

dstart

dend

gp

/usr/lib/hpux32/dld.so

 

 

 

 

0x2000000065858000 0x20000000658fb080 0x2000000065853000

0x2000000065857a38 0x2000000065855720

/usr/lib/hpux32/libstd_v2.so.1

 

 

 

0x20000000656ab000 0x200000006584bfc0 0x200000006569d000 0x20000000656aac28 0x20000000656a6d78

14.23 Debugging support for Decimal Floating Point data type

HP WDB versions 5.9 and above enable you to print and evaluate decimal floating point data types for programs running on the September 2008 release of HP-UX 11i v3, Integrity systems. This feature is available only for compiler versions A.06.20 and later.

The various features supported for decimal floating point data types are as follows:

Printing Decimal Floating point data types

Printing Decimal floating point constant

Printing Decimal floating point variable

Handling Decimal Floating Point data types

Evaluating Decimal Floating Point data types

Printing Type of Decimal floating point data type.

14.23.1Printing Decimal Floating point data types

HP WDB versions 5.9 and above enable you to print a decimal floating point data type constant or variable. It handles and prints decimal floating point constant or variable when you use common GDB commands such as stack trace and command-line calls.

14.23 Debugging support for Decimal Floating Point data type 213

Page 213
Image 213
HP gnu source-level debugger 5992-4701 manual Debugging support for Decimal Floating Point data type