diff options
author | James Clarke <jrtc27@jrtc27.com> | 2015-01-12 21:13:54 +0400 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2015-01-12 21:18:16 +0400 |
commit | 4ac15b59f2f506ff0ad59f148275cd7406b8d765 (patch) | |
tree | bd9b5f1562b752fd8c9f25828b21ebfba98dd571 /gdb | |
parent | 3d230f71746e0b33376f8b9bca914cc5d980997a (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/darwin-nat.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d8c6a14..b661c54 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. 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> |