This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/12116] AIX 6.1 declares getthrds() in <procinfo.h>


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]