[darwin/gdb] Use <setjmp.h> instead of <machine/setjmp.h>
authorJames Clarke <jrtc27@jrtc27.com>
Mon, 12 Jan 2015 17:13:54 +0000 (21:13 +0400)
committerJoel Brobecker <brobecker@adacore.com>
Mon, 12 Jan 2015 17:18:16 +0000 (21:18 +0400)
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.

gdb/ChangeLog
gdb/darwin-nat.c

index d8c6a14..b661c54 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2015-01-11  Doug Evans  <xdje42@gmail.com>
 
        * dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME.
index b44dcb4..f9481c7 100644 (file)
@@ -41,7 +41,7 @@
 
 #include <sys/ptrace.h>
 #include <sys/signal.h>
-#include <machine/setjmp.h>
+#include <setjmp.h>
 #include <sys/types.h>
 #include <unistd.h>
 #include <signal.h>