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

Normal stack traces

ebp is the base pointer for the given function. When it is possible to determine the number of arguments to a function, up to four are displayed; when in doubt, the four values which might be arguments are displayed, preceded by a question mark. For example,

   debug0:1> stack
   E0000D50 s5readi(D00FCE40)                     <- gethead+A7
   E0000DE8 gethead(D00FCE40, E0001220)           <- exece+69
   E0000E2C exece()                               <- systrap+2F0
   E0000E38 systrap(E0000E38)                     <- sys_call+3D
The return address of the function call is printed to the right (for example, exece+69'). If a subsequent dn command is issued for the u-page stack, the same frame pointers appear highlighted in reverse video.

By default, the function arguments are always displayed numerically. If required, the function arguments can be displayed symbolically by setting the scodb_options variable to 1. For example:

   debug0:1> scodb_options=1
   1
   debug0:2> stack
   E0000D50 s5readi(inode[4B])                    <- gethead+A7
   E0000DE8 gethead(inode[4B], u.u_exdata)        <- exece+69
   E0000E2C exece()                               <- systrap+2F0
   E0000E38 systrap(E0000E38)                     <- sys_call+3D
Note that some arguments might still be displayed numerically if there is no appropriate matching symbol.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003