I have used MacPorts to try to update this but it failed with "darwin-nat.c:45:10: fatal error: 'machine/setjmp.h' file not found". I found out that it is because in the code for darwin-nat.c says "<machine/setjmp.h>" when it should be "<setjmp.h>". I just wanted to make this report so it can be fixed for other users.
Patch submitted to the mailing list: https://sourceware.org/ml/gdb-patches/2014-09/msg00509.html
The master branch has been updated by Joel Brobecker <brobecke@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4ac15b59f2f506ff0ad59f148275cd7406b8d765 commit 4ac15b59f2f506ff0ad59f148275cd7406b8d765 Author: James Clarke <jrtc27@jrtc27.com> Date: Mon Jan 12 21:13:54 2015 +0400 [darwin/gdb] Use <setjmp.h> instead of <machine/setjmp.h> The `machine/setjmp.h' header is no longer present on OS X 10.10, and is non-standard. Instead, `darwin-nat.c' should be using the standard `setjmp.h' header. gdb/ChangeLog: 2015-01-12 James Clarke <jrtc27@jrtc27.com> (tiny patch) PR gdb/17046 * darwin-nat.c: Replace <machine/setjmp.h> #include by <setjmp.h> #include.
should now be fixed. Closing.