Use 'ptid_t' instead of 'ptid' for fbsd_next_vfork_done's return type.
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 1 Jul 2016 17:18:50 +0000 (10:18 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 6 Jul 2016 12:57:41 +0000 (05:57 -0700)
'ptid' compiles in C++, but not C.

gdb/ChangeLog:
* fbsd-nat.c (fbsd_is_vfork_done_pending): Fix return type.

gdb/ChangeLog
gdb/fbsd-nat.c

index a2fe153f8b09ebdbe350e72666b7ed9cdecef3fe..bf164bc4ca497a52dc281bcc9ced014acb5e1e15 100644 (file)
@@ -1,3 +1,7 @@
+2016-07-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-nat.c (fbsd_is_vfork_done_pending): Fix return type.
+
 2016-07-06  Yao Qi  <yao.qi@linaro.org>
 
        * arm-tdep.c (arm_vfp_cprc_sub_candidate): Don't call
index fcb7ff5e1794d113c8a0d989a487a9ca8fb73cd2..fa9516e2ecf121ca4b5c40d01d2dfd41314ca569 100644 (file)
@@ -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;
This page took 0.030156 seconds and 4 git commands to generate.