This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug build/12116] AIX 6.1 declares getthrds() in <procinfo.h>
- From: "brobecker at gnat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 05 Dec 2012 11:25:48 +0000
- Subject: [Bug build/12116] AIX 6.1 declares getthrds() in <procinfo.h>
- Auto-submitted: auto-generated
- References: <bug-12116-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12116
--- Comment #8 from Joel Brobecker <brobecker at gnat dot com> 2012-12-05 11:25:48 UTC ---
Does anyone still have access to AIX 6.x and would be able to send me a copy of
getthrds' prototype?
I suspect that GDB is declaring it wrong, and that is why GCC reported
*conflicting* prototypes. On AIX 7.1, the 4rth argument is a tid_t *,
not a pthdb_tid_t *. As a result of this, I get a warning when calling
it, because we use a variable with the wrong type. Changing the prototype
to match AIX 7.1 yields no regression on 5.3, and I can't seem to be able
to find a prototype for 5.3 anywhere on the 'net.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.