I tried to compile gxb 7.x version with no luck. I encoded an executable file (http://sourceware.org/gdb/wiki/BuildingOnDarwin).
The next version had these problems.
7.5.7.4, git clone: unknown boot command 0x2a (and others) for my application and various system libraries when gbd starts. When I try to print a vector, for example, I always get: Could not find the frame base for "main (int, char **)"
7.3 (macports and gdb-website): when the application starts, it cannot set a breakpoint and continues to work.
(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]
I used the llvm-gcc, gcc4.7 and svn-gcc4.8 systems to compile. Has anyone succeeded in installing gdb on Mountain Lion?
osx-mountain-lion gdb bfd
dlangenk Aug 21 2018-12-12T00: 00Z
source share