Fix syntax error in aix-thread.c:sync_threadlists
authorJoel Brobecker <brobecker@gnat.com>
Fri, 4 Oct 2013 08:56:09 +0000 (08:56 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Fri, 4 Oct 2013 08:56:09 +0000 (08:56 +0000)
This patch fixes a small typo after the BUILD_THREAD -> ptid_build
conversion.

gdb/ChangeLog:

        * aix-thread.c (sync_threadlists): Add missing ')' in call
        to ptid_build.

gdb/ChangeLog
gdb/aix-thread.c

index 88a25ba..af60b57 100644 (file)
@@ -1,5 +1,10 @@
 2013-10-04  Joel Brobecker  <brobecker@adacore.com>
 
+       * aix-thread.c (sync_threadlists): Add missing ')' in call
+       to ptid_build.
+
+2013-10-04  Joel Brobecker  <brobecker@adacore.com>
+
        * procfs.c (procfs_init_inferior): Fix typo causing the build
        to fail.
 
index 31c14e0..3175835 100644 (file)
@@ -756,7 +756,7 @@ sync_threadlists (void)
        }
       else if (gi == gcount)
        {
-         thread = add_thread (ptid_build (infpid, 0, pbuf[pi].pthid);
+         thread = add_thread (ptid_build (infpid, 0, pbuf[pi].pthid));
          thread->private = xmalloc (sizeof (struct private_thread_info));
          thread->private->pdtid = pbuf[pi].pdtid;
          thread->private->tid = pbuf[pi].tid;