Debugging Core Files Using HP WDB (5900-1573; WDB 6.2; January 2011)

(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.
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.
up/down Traverses through frames including PA-RISC
frames, if any.
Command and Features Applicable to PA-RISC Libraries
The following commands and features are applicable for PA-RISC libraries (for both live
and corefile debugging), in addition to Integrity libraries:
disass <PA_symbol_name> or
disass <PA_addr>
Displays the PA-RISC disassembly instructions of
the specified PA-RISC routine or at the specified
PA-RISC address.
28