aboutsummaryrefslogtreecommitdiff
path: root/gdb/darwin-nat.c
diff options
context:
space:
mode:
authorJames Clarke <jrtc27@jrtc27.com>2015-01-12 21:13:54 +0400
committerJoel Brobecker <brobecker@adacore.com>2015-01-12 21:18:16 +0400
commit4ac15b59f2f506ff0ad59f148275cd7406b8d765 (patch)
treebd9b5f1562b752fd8c9f25828b21ebfba98dd571 /gdb/darwin-nat.c
parent3d230f71746e0b33376f8b9bca914cc5d980997a (diff)
downloadgdb-4ac15b59f2f506ff0ad59f148275cd7406b8d765.zip
gdb-4ac15b59f2f506ff0ad59f148275cd7406b8d765.tar.gz
gdb-4ac15b59f2f506ff0ad59f148275cd7406b8d765.tar.bz2
[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.
Diffstat (limited to 'gdb/darwin-nat.c')
-rw-r--r--gdb/darwin-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c
index b44dcb4..f9481c7 100644
--- a/gdb/darwin-nat.c
+++ b/gdb/darwin-nat.c
@@ -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>