Use the r command to display kernel registers and the R command to display the user registers of a user process.
r [address] /* Display registers */ r -p [pid|proc_addr] /* Display proc's registers */Supply an address to r or R to have memory dumped in the register format. Memory is expected to be arranged in the order given in the <sys/reg.h> header file, with the first long being GS and the last SS.
The value of a register can be changed using the calculator features of SCODB. This should be done carefully.
Use the -p option to dump the registers
for a different user process,
which must have its
u-page loaded in core.
The argument is either a process ID
or the address of a process's proc structure.