In This Book

Using Register Commands

Use the following commands to display the contents of groups of registers in the debugger output area:

regs

General registers

cregs

Control registers

 

fregs

Double-precision

￿oating-p oint registers

fsregs

Single-precision

￿oating-p oint registers

fdregs

Double-precision ￿oating-point registers

sregs

Space registers

 

The commands listed above are aliases for the dump command. They are de￿ned in the target manager startup ￿le (described in \Using Startup Command Files" in Chapter 6), which is in:

/opt/langtools/dde/tgt/tgt_hpux_pa.startup

(See \Solaris SPARC Target Manager" in Appendix C 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 for more information on register names.

4-12 Viewing and Manipulating Target Program Data