title: gdb fails on mountain lion
body: <p>I tried to compile a 7.x Version of gdb without any luck.
  I codesigned the executable(http://sourceware.org/gdb/wiki/BuildingOnDarwin).</p>
  
  <p>With following version there were these problems.</p>
  
  <p>7.5,7.4,git clone: unknown load command 0x2a (and others) for my application and different system libraries when starting gbd. When trying to print a vector for example i always get:
  Could not find the frame base for "main(int, char**)"</p>
  
  <p>7.3 (macports and from gdb-website): on starting the application it fails to set the breakpoint and continues to run.</p>
  
  <pre><code>(gdb) start
  Temporary breakpoint 1 at 0x100000950: file ../src/main.cpp, line 15.
  Starting program: [...]
  BFD: unable to read unknown load command 0x24
  BFD: unable to read unknown load command 0x2a
  BFD: unable to read unknown load command 0x26
  Error in re-setting breakpoint 1: Cannot access memory at address 0x100000950
  [application continues]
  </code></pre>
  
  <p>I used the system llvm-gcc, gcc4.7 and svn-gcc4.8 to compile.
  Has anybody succeeded in installing gdb on Mountain Lion?</p>