DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Using SCODB

When not to single-step

Single-stepping should not be performed on the transition between kernel and user mode (for example, at the end of common_iret( )) since this leaves the debugger with a wrong impression of what mode it is in. Pressing the debugger entry key in this state causes output of a disassembly line as in normal single-stepping, however no debugger prompt will appear. To reset the debugger to the correct state, enter a quit key.

Using the r command to return from the current function will have unexpected results in the rare case that the function does not have an explicit return instruction (for example, longjmp( ), which uses a jump to return control).


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