title: gcc how to generate debug symbol files .pdb?
body: <p>I tried to find on google how to generate pdb files for application which were compiled using cygwin64, but I was not unable to make it work,
  this is how my make file look like:</p>
  
  <pre><code>sample: main.c timer.c functions.c gcc -O3 -export-all-symbols="sample.pdb" -march=native $^ -o $@ 
  </code></pre>
  
  <p>I found that this command "should" generate pdb files after compile: -export-all-symbols="sample.pdb" but it doesnt, what I need to use that cygwin would generate pdb files?</p>