title: gdb: (no debugging symbols found)
body: <p>I have a file called test. Even after compiling it with -g, when I run it in gdb, it says no debugging symbols found. I have also tried using -ggdb but it too was off no use. Please help.</p>
  
  <pre><code>Output for : gdb test
  
  This GDB was configured as "x86_64-linux-gnu".
  For bug reporting instructions, please see:
  &lt;http://www.gnu.org/software/gdb/bugs/&gt;...
  Reading symbols from /usr/bin/test...(no debugging symbols found)...done.
  </code></pre>