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

Table Of Contents
To analyze this core file with HP WDB on HP-UX 11i version 2, you must do the following:
When starting from HP WDB command line:
(gdb) core-file [core.pid | core-filename]
When starting from shell prompt:
$ gdb -core a.out [core.pid | core-filename]
14.15.4 Support for display of run time type information
HP WDB enables you to view the run time type information for C++ polymorphic object.
info rtti address
This command displays run time type information for C++ polymorphic object. The input
to this command is address of the C++ polymorphic object. GDB displays the demangled
type name as output.
NOTE: This command is supported only on Integrity systems.
Sample Output
(gdb) info rtti <address>
RTTI: <run time type/class name>
14.15.5 Support for Core File Debugging of MITR Applications
HP WDB 6.0 and later versions support corefile debugging for MIxed mode TRanslator
(MITR) applications. MITR applications are Itanium applications that load and execute
32-bit HP PA-RISC libraries. The PA-RISC libraries are executed using an emulator library,
/usr/lib/hpux32/libaries32.so, which is loaded by the dynamic loader when
routines in the PA-RISC library are called.
For more information on MITR, see the HP MITR webpage at:
http://www.hp.com/go/mitr
This section addresses the following topics:
“Configuring HP WDB for Mixed Mode Debugging” (page 197)
“Command to Support Core File Debugging in Mixed More Applications (page 198)
“Change in the Behavior of Existing Commands” (page 198)
“Known Issues and Unsupported Features in Mixed Mode Debugging” (page 199)
14.15.5.1 Configuring HP WDB for Mixed Mode Debugging
HP WDB uses a helper library, libaries64.so, to read in information about the
emulated stack frames. By default, HP WDB uses the /usr/lib/hpux64/
libaries64.so library, which can be modified by setting the GDB_ARIES_LIB
environment variable to load the appropriate libaries64.so library.
14.15 Debugging Core Files 197