7.4. Using the call stack

Processors maintain a call stack for the 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 stack. Similarly, as a function completes execution and returns control normally, it is removed from the stack. The stack, therefore, contains details of all functions that have been called but have not yet completed execution.

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

Copyright © 2003, 2004 ARM Limited. All rights reserved.ARM DUI 0234B
Non-Confidential