title: Find out where my C program hangs with GDB?
body: <p>I am trying to debug my C program with <code>GDB</code> to find out where it hangs.</p>
  
  <p>As a newbie to <code>GDB</code>, I am able to run it, but have no idea how to make <code>GDB</code> stop and tell me where the program hangs. </p>
  
  <p>I tried <kbd>CTRL+C</kbd> to terminate it but it only shows me</p>
  
  <pre><code>Program received signal SIGINT, Interrupt.
  </code></pre>
  
  <p>What should I do when the program hangs there in <code>GDB</code>?</p>