title: where/how does Apples GCC store DWARF inside an executable
body: <p>Where/how does Apples GCC store DWARF inside an executable?</p>
  
  <p>I compiled a binary via <code>gcc -gdwarf-2</code> (Apples GCC). However, neither <code>objdump -g</code> nor <code>objdump -h</code> does show me any debug information.</p>
  
  <p>Also libbfd does not find any debug information. (I asked on the binutils-mailinglist about it <a href="http://sourceware.org/ml/binutils/2012-04/msg00061.html">here</a>.)</p>
  
  <p>I am able however to extract the debugging information via <code>dsymutil</code> (into a dSYM). libbfd is also able to read those debug info then.</p>