Debugging with GDB Manual HP WDB v6.3 (5900-2180, August 2012)

14.15 Debugging Core Files...................................................................................................153
14.15.1 Generating core files with packcore /unpackcore/getcore..........................................153
14.15.2 Support for the info target Command......................................................................154
14.15.3 Support for the dumpcore command.......................................................................155
14.15.3.1 Enhancements to the dumpcore command........................................................155
14.15.4 Support for display of run time type information........................................................155
14.15.5 Support for Core File Debugging of MITR Applications .............................................156
14.15.5.1 Configuring HP WDB for Mixed Mode Debugging............................................156
14.15.5.2 Command to Support Core File Debugging in Mixed More Applications..............156
14.15.5.3 Change in the Behavior of Existing Commands.................................................157
14.15.5.4 Command and Features Applicable to PA-RISC Libraries.....................................157
14.15.5.5 Known Issues and Unsupported Features in Mixed Mode Debugging...................157
14.15.6 Support for mmapfile command..............................................................................158
14.16 Debugging with debug information available in the side debug file....................................160
14.17 Printing the Execution Path Entries for the Current Frame or Thread......................................161
14.17.1 Compiler Dependencies for Printing the Execution Path Entries.....................................162
14.17.2 Example Illustrating Execution Path Recovery.............................................................162
14.18 Command to Unwind Beyond 10000 Frames...................................................................163
14.19 Invoking GDB Before a Program Aborts..........................................................................164
14.20 Aborting a Command Line Call.....................................................................................164
14.21 Instruction Level Stepping..............................................................................................165
14.22 Enhanced support for watchpoints and breakpoints.........................................................165
14.22.1 Deferred watchpoints............................................................................................165
14.22.2 Hardware watchpoints.........................................................................................165
14.22.3 Hardware breakpoints..........................................................................................165
14.22.3.1 Setting breakpoints in unstripped shared library................................................165
14.22.4 Support for procedural breakpoints........................................................................166
14.22.5 Support for template breakpoints...........................................................................166
14.23 Debugging support for shared libraries..........................................................................166
14.23.1 Using shared library as main program....................................................................167
14.23.2 Setting Deferred Breakpoints in Shared Library........................................................167
14.23.3 Using catch load.................................................................................................167
14.23.4 Privately mapping shared libraries.........................................................................167
14.23.5 Selectively Mapping Shared Libraries As Private.......................................................168
14.23.6 Setting breakpoints in shared library......................................................................168
14.23.7 Enhancement to the info shared Command.............................................................169
14.24 Debugging support for Decimal Floating Point data type...................................................169
14.24.1 Printing Decimal Floating point data types...............................................................169
14.24.1.1 Printing Decimal floating point constant............................................................169
14.24.1.2 Printing Decimal floating point variable............................................................169
14.24.2 Handling Decimal Floating Point Data types............................................................169
14.24.3 Evaluating Decimal Floating Point data types...........................................................170
14.24.3.1 Printing type of Decimal Floating Point variable.................................................170
14.25 Additional Support for binary floating point data type.....................................................171
14.25.1 Support for Binary Floating Point constants f, l..........................................................171
14.25.2 Support Binary Floating Point variables with format specifier......................................171
14.26 Language support.......................................................................................................171
14.26.1 Enhanced Java Debugging Support........................................................................171
14.26.1.1 Java Stack Unwind Features............................................................................172
14.26.1.2 gdb Subcommands for Java VM Debugging.....................................................173
14.26.1.3 Java corefile debugging support.....................................................................174
14.26.1.4 Java attach mode debugging support..............................................................174
14.26.2 Enhanced support for C++ templates.....................................................................175
14.26.3 Support for _ _fpreg data type on IPF.....................................................................175
14.26.4 Support for _Complex variables in HP C.................................................................175
Contents 7