summaryrefslogtreecommitdiff
path: root/gdb/aix-thread.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-12-06 04:57:09 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-12-06 04:57:09 +0000
commiteff44fea8c27edb89e1b8c498997575fa9f6ad95 (patch)
tree4d196954d6566dc88df3267bd7dbacd56b5599f5 /gdb/aix-thread.c
parent9e69ed506afe4d59c5524ba74284bb972bb0f59b (diff)
aix-thread: Fix getthrds declaration and call.
gdb/ChangeLog: * aix-thread.c (getthrds): Fix type of 4th parameter. (get_signaled_thread): Change type of variable ktid to tid_t.
Diffstat (limited to 'gdb/aix-thread.c')
-rw-r--r--gdb/aix-thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c
index 5da6c4eadb..3d8b453c2c 100644
--- a/gdb/aix-thread.c
+++ b/gdb/aix-thread.c
@@ -59,7 +59,7 @@
#include <sys/pthdebug.h>
#if !HAVE_DECL_GETTHRDS
-extern int getthrds (pid_t, struct thrdsinfo64 *, int, pthdb_tid_t *, int);
+extern int getthrds (pid_t, struct thrdsinfo64 *, int, tid_t *, int);
#endif
/* Whether to emit debugging output. */
@@ -648,7 +648,7 @@ static pthdb_tid_t
get_signaled_thread (void)
{
struct thrdsinfo64 thrinf;
- pthdb_tid_t ktid = 0;
+ tid_t ktid = 0;
int result = 0;
while (1)