[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 d8c6a1436bb71f3f83d8e1c9345d7efac34cf93b..b661c5410fc173d563837b76a87d89e5fced60cf 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 b44dcb4d1dd013245e2cb5ee2fa6f8ef15a84401..f9481c757383d4cd88d063c560969adc91527989 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>