Debugging with GDB Manual HP WDB v6.3 (5900-2180, August 2012)
14.38 Linux support
Linux Runtime Environment (LRE) on HP-UX Itanium enables users to execute Intel Itanium Linux
applications on HP-UX. HP WDB provides a prototype for LRE debugging, which allows you to
debug applications ported from Linux that run under LRE. This provides a minimal debugging
capability for LRE.
14.39 Source level debugging
GDB provides support for source level debugging with the help of the following command.
set src-no-g options Sets the source level debugging feature when the program is
compiled without the -g option. When the program is compiled
without the -g option, the debugger uses the minimal line table
information that is available, to provide limited source level
debugging. This option is available only on Integrity systems. By
default, the debugger provides source level debugging without
compiling with the -g option for all source files except for the files
in system libraries. The valid options are:
Description
Options
Source level debugging is not available when the program is
compiled without -g.
none
Source level debugging is available for all the source files
except the source files in the system libraries. This option is the
default setting, when no options are specified.
no_sys_libs
Source level debugging is available for all the source files.all
show src-no-g Displays the current setting of source level debugging feature.
14.40 Support for using old DW-VIRTUALITY values
GDB enables you to use the old DW-VIRTUALITY values. Use the following commands to modify
or display the status of using old DW-VIRTUALITY values.
set old-vtable on|off Sets debugger to use old DW_VIRTUALITY values when turned
on.
show old-vtable Displays if the old DW_VIRTUALITY values are being used
currently.
14.41 Additional support for examining registers
GDB provides additional support for printing, changing the value, or setting specific registers and
henceforth helping you to examine the register usage. Following sections provide more information
on examining the registers.
14.41.1 Printing or changing the values of CFM and PFS registers
On Integrity systems, HP WDB prints Current Frame Marker (CFM) and Previous Frame State (PFS)
ar64 registers in two different formats:
• raw values
• special formats identifying the size of rotating registers, frames and locals.
For example:
14.38 Linux support 191