diff options
author | Joel Brobecker <brobecker@gnat.com> | 2013-10-04 08:56:09 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2013-10-04 08:56:09 +0000 |
commit | b94363364cf7d9d1dd591ec006d5b5e5e467d7c0 (patch) | |
tree | f7578e30648508c5a38a772d89276b82ca31e2c9 /gdb | |
parent | 958f43c76b1bde04fbf2b97631a93093c17c3bc8 (diff) | |
download | gdb-b94363364cf7d9d1dd591ec006d5b5e5e467d7c0.tar.gz |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/aix-thread.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 88a25ba970a..af60b576334 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. 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; |