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

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.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003