Debugging with GDB Manual The GNU Source-Level Debugger (769148-001, March 2014)
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.
info func Displays PA-RISC functions also for the regular expressions
specified, if applicable.
info symbol <addr> Describes the symbol at location addr for PA-RISC symbols
if the symbol has a global scope.
info address <symbol> Describes where the PA-RISC symbol is stored if the symbol
has a global scope.
print Prints the values of global variables defined in PA-RISC
libraries.
Known Issues and Unsupported Features in Mixed Mode Debugging
The following are not supported for mixed mode debugging:
• Placing a breakpoint on a PA-RISC library.
• Listing the arguments (using the info args command) for a selected PA-RISC frame during
corefile debugging. Alternatively, the disassembly instructions or runtime conventions can be
examined to identify the locations of the arguments and the values at these locations can be
displayed using the print or x command.
• Printing the local variables of the selected frame (using the info locals command) for a
selected PA-RISC frame during corefile debugging. Alternatively, the disassembly instructions
can be examined to identify the locations of the arguments and the values at these locations
of the local variables can be displayed using the print or x command.
• Executing the backtrace_other_thread command for a frame belonging to a PA-RISC
library.
• Executing the maint info unwind command for PA-RISC addresses.
• Printing the description of the type of expression or data type (using the ptype command)
on a PA-RISC symbol.
150 HP-UX Configuration-Specific Information