title: How can we step over a function call in GDB?
body: <p>I want to understand how we can do stepping over a function call. For instance, in the following simplest program:</p>
  <pre><code> #include &lt;iostream&gt;
   #include &quot;test.h&quot;
  
   using std::cout;
   using std::endl;
  
   Uint u;
  
   int main()
   {
       cout &lt;&lt; &quot;execution starting...&quot; &lt;&lt; endl;
       cout &lt;&lt; u.a &lt;&lt; endl;
       cout &lt;&lt; &quot;execution completed&quot; &lt;&lt; endl;
   }
  </code></pre>
  <p>Ok, I set a breakpoint at the 11th line by the <code>break 11</code> command. Now I want to step over all instructions which are going to be invoked to printing <code>&quot;execution starting...&quot;</code> and stop at the <code>operator &lt;&lt;</code> call to printing the <code>endl</code> symbol. How can I do that? Which command should I use?</p>