title: Tracing function calls in C++ using gdb
body: <p>I have a system developed in C++ on Linux platform. I am doing some debugging of this system. I want to look for the complete sequence of function calls to a function. Lets assume the functions are called in the following sequence</p>
  
  <pre><code>function_1 -&gt; function_2 -&gt; function_3 -&gt; function_4
  </code></pre>
  
  <p>If I put a break point at function_4, the execution will be holded at that point. I want to see that functions_1, function_2 and function_3 are called before function_4. If there any gdb command to trace these function calls?</p>
  
  <p>Thanks,
  Ankur</p>