summaryrefslogtreecommitdiff
path: root/devel/gdb/files/commit-ee95032
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gdb/files/commit-ee95032')
-rw-r--r--devel/gdb/files/commit-ee9503224
1 files changed, 24 insertions, 0 deletions
diff --git a/devel/gdb/files/commit-ee95032 b/devel/gdb/files/commit-ee95032
new file mode 100644
index 000000000000..2eb1f725697c
--- /dev/null
+++ b/devel/gdb/files/commit-ee95032
@@ -0,0 +1,24 @@
+commit ee950322ca2c77494b1742f304632f667ed6ce79
+Author: John Baldwin <jhb@FreeBSD.org>
+Date: Fri Jul 1 10:18:50 2016 -0700
+
+ Use 'ptid_t' instead of 'ptid' for fbsd_next_vfork_done's return type.
+
+ 'ptid' compiles in C++, but not C.
+
+ gdb/ChangeLog:
+ * fbsd-nat.c (fbsd_is_vfork_done_pending): Fix return type.
+
+diff --git gdb/fbsd-nat.c gdb/fbsd-nat.c
+index fcb7ff5..fa9516e 100644
+--- gdb/fbsd-nat.c
++++ gdb/fbsd-nat.c
+@@ -609,7 +609,7 @@ fbsd_is_vfork_done_pending (pid_t pid)
+ /* Check for a pending vfork done event. If one is found, remove it
+ from the list and return the PTID. */
+
+-static ptid
++static ptid_t
+ fbsd_next_vfork_done (void)
+ {
+ struct fbsd_fork_info *info;