summaryrefslogtreecommitdiff
path: root/devel/gdb/files/commit-ee95032
blob: 2eb1f725697c7022fa3c350b02b0bb0fb55ef0d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;