From: James Clarke <jrtc27@jrtc27.com>
To: gdb-patches@sourceware.org
Cc: James Clarke <jrtc27@jrtc27.com>
Subject: [PATCH][PR gdb/17046] Use standard setjmp.h on Darwin
Date: Mon, 15 Sep 2014 21:25:00 -0000 [thread overview]
Message-ID: <1410816254-24831-1-git-send-email-jrtc27@jrtc27.com> (raw)
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:
2014-09-15 James Clarke <jrtc27@jrtc27.com>
PR gdb/17046
* darwin-nat.c: Import standard setjmp.h rather than the non-standard
machine/setjmp.h header that no longer exists as of OS X 10.10.
---
gdb/darwin-nat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c
index af4ec01..e550785 100644
--- a/gdb/darwin-nat.c
+++ b/gdb/darwin-nat.c
@@ -42,7 +42,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>
--
2.1.0
next reply other threads:[~2014-09-15 21:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-15 21:25 James Clarke [this message]
2014-09-15 21:36 ` Sergio Durigan Junior
2014-09-15 23:45 ` James Clarke
[not found] ` <B8903C19-464A-4B59-8255-B6540D025C29@adacore.com>
2015-01-06 22:42 ` Simon Marchi
2015-01-12 13:41 ` Simon Marchi
2015-01-12 17:21 ` Joel Brobecker
2015-01-12 17:49 ` Simon Marchi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1410816254-24831-1-git-send-email-jrtc27@jrtc27.com \
--to=jrtc27@jrtc27.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox