Select one of the Show:Registers
menu items to display a dialog box that shows the contents of a
group of hardware registers. Figure 4-2 “Show Registers Dialog
Box (General) ”
shows a dialog box displaying general registers. You can also display
floating point and special registers.
From the Show Registers dialog box, you can:
View register contents.
Register values that change during execution are highlighted.
Specify how the the register values are updated
(similar to setting a watchpoint's granularity).
You can also temporarily suspend updating, which allows the
target program to run faster. When register tracing is activated
and set to anything other than Every Stop,
the debugger creates an implicit watchpoint to check the register
values at the appropriate granularity.
Change from the default hexadecimal display format.
The floating point register dialog box allows you to specify
whether the registers are displayed as two 4-byte values (single
precision) or one 8-byte value (double precision).
Using Register Commands |
![](../../img/s.gif) |
Use the following commands to display the contents of groups
of registers in the debugger output area:
Title not available (Using Register Commands )
- regs
General registers
- cregs
Control registers
- fregs
Double-precision floating-point registers
- fsregs
Single-precision floating-point registers
- fdregs
Double-precision floating-point registers
- sregs
Space registers
The commands listed above are aliases for the dump
command. They are defined in the target manager startup file (described
in “Using Startup Command Files ”), which is
in:
/opt/langtools/dde/tgt/tgt_hpux_pa.startup
|
(See “Solaris SPARC Target Manager ” for information
on the register dumping macros on Solaris systems.)
To display a single register, use dump -from
address. Specify a register name for
address. For example:
dump -from r8 r8: 40006110
|
See Appendix C “Target Managers ”
for more information on register names.