This is what I'm getting at the moment: -*- mode: compilation; default-directory: "~/hacking/gdb/build/gdb/" -*- Compilation started at Wed Jul 25 22:32:06 make -wk WERROR_CFLAGS='' make: Entering directory `/Users/sam/hacking/gdb/build/gdb' make[1]: Entering directory `/Users/sam/hacking/gdb/build/gdb' make[2]: Entering directory `/Users/sam/hacking/gdb/build/gdb/build-gnulib' make[3]: Entering directory `/Users/sam/hacking/gdb/build/gdb/build-gnulib' make[4]: Entering directory `/Users/sam/hacking/gdb/build/gdb/build-gnulib/import' make all-recursive make[5]: Entering directory `/Users/sam/hacking/gdb/build/gdb/build-gnulib/import' make[6]: Entering directory `/Users/sam/hacking/gdb/build/gdb/build-gnulib/import' make[6]: Nothing to be done for `all-am'. make[6]: Leaving directory `/Users/sam/hacking/gdb/build/gdb/build-gnulib/import' make[5]: Leaving directory `/Users/sam/hacking/gdb/build/gdb/build-gnulib/import' make[4]: Leaving directory `/Users/sam/hacking/gdb/build/gdb/build-gnulib/import' make[3]: Leaving directory `/Users/sam/hacking/gdb/build/gdb/build-gnulib' make[2]: Leaving directory `/Users/sam/hacking/gdb/build/gdb/build-gnulib' make[1]: Leaving directory `/Users/sam/hacking/gdb/build/gdb' /usr/local/bin/ccache gcc-4.2 -g -O2 -I. -I../../gdb -I../../gdb/common -I../../gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I../../gdb/../include/opcode -I../../gdb/../opcodes/.. -I../../gdb/../readline/.. -I../bfd -I../../gdb/../bfd -I../../gdb/../include -I../libdecnumber -I../../gdb/../libdecnumber -I./../intl -I../../gdb/gnulib/import -Ibuild-gnulib/import -DTUI=1 -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -c -o darwin-nat.o -MT darwin-nat.o -MMD -MP -MF .deps/darwin-nat.Tpo ../../gdb/darwin-nat.c ../../gdb/darwin-nat.c: In function 'darwin_read_dyld_info': ../../gdb/darwin-nat.c:1824: error: storage size of 'task_dyld_info' isn't known ../../gdb/darwin-nat.c:1825: error: 'TASK_DYLD_INFO_COUNT' undeclared (first use in this function) ../../gdb/darwin-nat.c:1825: error: (Each undeclared identifier is reported only once ../../gdb/darwin-nat.c:1825: error: for each function it appears in.) ../../gdb/darwin-nat.c:1832: error: 'TASK_DYLD_INFO' undeclared (first use in this function) make: *** [darwin-nat.o] Error 1 rm -f version.c-tmp version.c echo '#include "version.h"' >> version.c-tmp echo 'const char version[] = "'"`sed q ../../gdb/version.in`"'";' >> version.c-tmp echo 'const char host_name[] = "i386-apple-darwin9.8.0";' >> version.c-tmp echo 'const char target_name[] = "i386-apple-darwin9.8.0";' >> version.c-tmp mv version.c-tmp version.c /usr/local/bin/ccache gcc-4.2 -g -O2 -I. -I../../gdb -I../../gdb/common -I../../gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I../../gdb/../include/opcode -I../../gdb/../opcodes/.. -I../../gdb/../readline/.. -I../bfd -I../../gdb/../bfd -I../../gdb/../include -I../libdecnumber -I../../gdb/../libdecnumber -I./../intl -I../../gdb/gnulib/import -Ibuild-gnulib/import -DTUI=1 -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -c -o version.o -MT version.o -MMD -MP -MF .deps/version.Tpo version.c make: Target `all' not remade because of errors. make: Leaving directory `/Users/sam/hacking/gdb/build/gdb' Compilation exited abnormally with code 2 at Wed Jul 25 22:32:08
Fix for this was posted by Iain Sandoe here: http://sourceware.org/ml/gdb-patches/2011-12/msg00890.html I see the problem in 7.5.1
Created attachment 6779 [details] gdb-7.5.1-darwin9.patch For clarity, here is the (extracted) patch that fixes the issue.
Patches should be posted to gdb-patches mailing list, they won't get processed here.
(In reply to comment #3) they were posted to the mailing list back in Dec 2011
They should be reposted then, if still necessary.
done
http://sourceware.org/ml/gdb-patches/2013-01/msg00025.html
(In reply to comment #5) i've also already done that. it's waiting for a reply. http://sourceware.org/ml/gdb-patches/2012-12/msg00804.html
pushed to HEAD (so it'll be in gdb-7.6)