DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
adb: absolute debugger

Displaying CPU registers

To display the contents of all CPU registers, use the $r command. The command displays the name and contents of each register in the CPU as well as the current value of the program counter, and the instruction at the current address.

The adb program displays registers in the following format; the value of each register is given in the current default format:

   eax	0x81000		efl	0x246
   ebx	0x0		eip	0x142
   ecx	0x0		cs	0x3f
   edx	0x8		ds	0x47
   edi	0x0		es	0x47
   esi	0x0		fs	0x47	
   ebp	0x0		gs	0x47
   esp	0x7fef8		ss	0x47
   0x17:0x142:    push     ebp

Next topic: Displaying external variables
Previous topic: Displaying the C stack backtrace

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003