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

Table Of Contents
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.
14.15.5.3 Change in the Behavior of Existing Commands
Following is the change in behavior of existing commands when a corefile created by
a mixed mode application is debugged and if the set debug-aries option is set to
off:
bt n Includes PA-RISC frames in the backtrace, if
applicable.
frame n Sets the frame to a PA-RISC frame if n represents
a PA-RISC frame according to the backtrace
command. Otherwise, the appropriate Itanium
frame is displayed.
info frame Displays details regarding the PA-RISC frame, if
applicable.
info reg <register_name> If the selected frame is a PA-RISC frame, this
command lists the registers and their contents, as
applicable, in the PA-RISC architecture. For
PA-RISC frames, only PA-RISC architecture registers
can be specified.
198 HP-UX Configuration-Specific Information