From: Joel Brobecker Date: Fri, 4 Oct 2013 08:56:09 +0000 (+0000) Subject: Fix syntax error in aix-thread.c:sync_threadlists X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5371440e08b9626b92f0e24a0a5c93318ef4d20;p=binutils-gdb.git Fix syntax error in aix-thread.c:sync_threadlists 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 88a25ba970a..af60b576334 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-10-04 Joel Brobecker + + * aix-thread.c (sync_threadlists): Add missing ')' in call + to ptid_build. + 2013-10-04 Joel Brobecker * procfs.c (procfs_init_inferior): Fix typo causing the build diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c index 31c14e009cc..31758351361 100644 --- a/gdb/aix-thread.c +++ b/gdb/aix-thread.c @@ -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;