Debugging with GDB Manual HP WDB v6.3 (5900-2180, August 2012)
14 HP-UX Configuration-Specific Information
While nearly all GDB commands are available for all native and cross versions of the debugger,
there are some exceptions. This chapter describes features, commands, and enhancements available
only on HP-UX.
14.1 Summary of HP Enhancements to GDB
HP WDB provides the following features in addition to the standard GDB features:
• “HP-UX dependencies” (page 107)
• “Supported Platforms and Modes” (page 108)
• “HP-UX targets” (page 109)
• “Support for Alternate root” (page 109)
• “Specifying object file directories” (page 110)
• “Fix and continue debugging” (page 111)
• “Inline Support” (page 114)
• “Debugging Macros” (page 117)
• “Debugging Memory Problems” (page 120)
• “Thread Debugging Support” (page 139)
• “Debugging MPI Programs” (page 150)
• “Debugging multiple processes (programs with fork and vfork calls)” (page 150)
• “Command to Search for a Pattern in the Memory Address Space” (page 151)
• “Debugging Core Files” (page 153)
• “Debugging with debug information available in the side debug file” (page 160)
• “Printing the Execution Path Entries for the Current Frame or Thread” (page 161)
• “Command to Unwind Beyond 10000 Frames” (page 163)
• “Invoking GDB Before a Program Aborts” (page 164)
• “Aborting a Command Line Call” (page 164)
• “Instruction Level Stepping” (page 165)
• “Enhanced support for watchpoints and breakpoints” (page 165)
• “Debugging support for shared libraries” (page 166)
• “Debugging support for Decimal Floating Point data type” (page 169)
• “Additional Support for binary floating point data type” (page 171)
• “Enhanced Java Debugging Support” (page 171)
• “Enhanced support for C++ templates” (page 175)
• “Support for _ _fpreg data type on IPF” (page 175)
• “Support for _Complex variables in HP C” (page 175)
• “Support for debugging namespaces” (page 176)
• “Command for evaluating the address of an expression” (page 176)
• “Viewing Wide Character Strings” (page 176)
• “Support for dumping array in an ASCII file” (page 177)
14.1 Summary of HP Enhancements to GDB 105