aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2013-10-04 08:56:09 +0000
committerJoel Brobecker <brobecker@gnat.com>2013-10-04 08:56:09 +0000
commitf5371440e08b9626b92f0e24a0a5c93318ef4d20 (patch)
tree989b17f720aa4dd51f77440b1de14f6cdc4941b0 /gdb
parent793e1c063fe97c54c218a5130aa179fdd3140fb9 (diff)
downloadgdb-f5371440e08b9626b92f0e24a0a5c93318ef4d20.zip
gdb-f5371440e08b9626b92f0e24a0a5c93318ef4d20.tar.gz
gdb-f5371440e08b9626b92f0e24a0a5c93318ef4d20.tar.bz2
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/ChangeLog5
-rw-r--r--gdb/aix-thread.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 88a25ba..af60b57 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 31c14e0..3175835 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;