]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
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 88a25ba970a6cef293fd03e026173ff611025074..af60b5763348e6c0afa2f1ce542ea8cd5b6410a6 100644 (file)
@@ -1,3 +1,8 @@
+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
index 31c14e009ccfb62eff19dbec4743912a281fd6e2..31758351361f952be7e75e61fdb300fc586dea9d 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;