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

Stack trace

A stack trace can be listed using the stack trace command:

   stack                                           /* Print stack backtrace */
   stack address                                   /* Start backtrace at address */
   stack -p [pid|proc_addr]                        /* Print trace for process */
Stack traces, which are indispensable in debugging, are obtained by examining the stack. The output of the stack command is:
   ebp1    function #1 called, arguments     where from #1
   ebp2    function #2 called, arguments     where from #2
   ...
The address printed to the left of a function is the base pointer to the stack frame active in that function.
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005