DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Using SCODB on SCO OpenServer 5

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).


© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005