This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Fix syntax error in aix-thread.c:sync_threadlists
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 4 Oct 2013 11:07:50 +0200
- Subject: [commit] Fix syntax error in aix-thread.c:sync_threadlists
- Authentication-results: sourceware.org; auth=none
Hello,
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.
Tested on ppc-aix, checked in.
--
Joel
---
gdb/ChangeLog | 5 +++++
gdb/aix-thread.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
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;
--
1.8.1.2