Debugging with GDB Manual HP WDB v6.3 (5900-2180, August 2012)
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 156)
• “Command to Support Core File Debugging in Mixed More Applications” (page 156)
• “Change in the Behavior of Existing Commands” (page 157)
• “Known Issues and Unsupported Features in Mixed Mode Debugging” (page 157)
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.
NOTE: Only the 64-bit version of the libaries64.so library can be used to read in data about
the emulated stack frames.
14.15.5.2 Command to Support Core File Debugging in Mixed More Applications
A new command set debug-aries is introduced in HP WDB to support core file debugging
in mixed mode applications. The set debug-aries command is used to determine whether the
frames of the emulator library (libaries32.so) or that of the emulated PA-RISC library must be
displayed while executing stack-related commands, such as backtrace and frame.
Following is the syntax for the set debug-aries command:
set debug-aries [on|off]
where:
on Displays the libaries32.so frames along with other frames of the application.
off Displays the PA-RISC library frames along with other frames of the application. By default,
the emulator library frames are not displayed during core file debugging.
If the setting is toggled between on and off, the corefile must be reloaded. The set debug-aries
command is valid only for corefile debugging and setting this command to off is not supported
for live debugging. To display the current status of set debug-aries [on|off]command,
use the show debug-aries command.
156 HP-UX Configuration-Specific Information