Debugging with GDB Manual (5900-1473; WDB 6.2; January 2011)

Table Of Contents
14.25 Additional Support for binary floating point data type.....................................217
14.25.1 Support for Binary Floating Point constants f, l..........................................217
14.25.2 Support Binary Floating Point variables with format specifier......................217
14.26 Language support.......................................................................................217
14.26.1 Enhanced Java Debugging Support........................................................217
14.26.1.1 Java Stack Unwind Features............................................................218
14.26.1.2 gdb Subcommands for Java VM Debugging.....................................219
14.26.1.3 Java corefile debugging support.....................................................220
14.26.1.4 Java attach mode debugging support..............................................221
14.26.2 Enhanced support for C++ templates.....................................................222
14.26.3 Support for _ _fpreg data type on IPF.....................................................223
14.26.4 Support for _Complex variables in HP C.................................................223
14.26.5 Support for debugging namespaces.......................................................223
14.26.6 Command for evaluating the address of an expression.............................224
14.27 Viewing Wide Character Strings...................................................................224
14.28 Support for output logging...........................................................................225
14.28.1 Support for dumping array in an ASCII file..............................................225
14.28.2 Support for Fortran array slices..............................................................226
14.28.3 Displaying enumerators........................................................................226
14.28.4 Support for debugging typedefs............................................................226
14.28.5 Support for steplast command for C and C++.........................................226
14.29 Getting information from a non-debug executable...........................................227
14.30 Debugging optimized code..........................................................................227
14.30.1 Debugging Optimized Code at Various Optimization Levels......................230
14.30.1.1 +O0 and +O1.............................................................................230
14.30.1.2 +O2/+O3/+O4/-ipo...................................................................230
14.31 Debugging with ARIES.................................................................................232
14.31.1 Debugging the application using GDB under ARIES..................................232
14.31.1.1 Limitations of GDB Support under ARIES............................................233
14.31.2 Attaching GDB to an already running emulated process............................233
14.31.3 Detecting memory leaks using GDB under ARIES......................................234
14.32 Visual Interface for HP WDB.........................................................................234
14.32.1 Starting and stopping Visual Interface for HP WDB...................................235
14.32.2 Navigating the Visual Interface for HP WDB display................................235
14.32.3 Specifying foreground and background colors.........................................237
14.32.4 Using the X-window graphical interface..................................................237
14.32.5 Using the TUI mode.............................................................................237
14.32.6 Changing the size of the source or debugger pane..................................238
14.32.7 Using commands to browse through source files......................................238
14.32.8 Loading source files.............................................................................239
14.32.9 Editing source files...............................................................................239
14.32.10 Editing the command line and command-line history...............................239
14.32.11 Saving the contents of a debugging session to a file................................239
14.33 Support for ddd..........................................................................................240
Contents 9