6.4. Using the call stack

Processors maintain a call stack for each processor in your debug target. If you are debugging multithreaded applications, a thread stack is also maintained.

As a program function is called, it is added to the call stack. Similarly, as a function completes execution and returns control normally, it is removed from the call stack. The call stack, therefore, contains details of all functions that have been called but have not yet completed execution.

RealView Debugger includes features that enable you to monitor variables and access traceback as your debugging session develops:

Copyright © 2002-2005 ARM Limited. All rights reserved.ARM DUI 0153G
Non-Confidential