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.
This commit is contained in:
Joel Brobecker 2013-10-04 08:56:09 +00:00
parent 793e1c063f
commit f5371440e0
2 changed files with 6 additions and 1 deletions

View 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

View 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;