From: Joel Brobecker Date: Thu, 6 Dec 2012 04:57:09 +0000 (+0000) Subject: aix-thread: Fix getthrds declaration and call. X-Git-Tag: cgen-snapshot-20130101~208 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eff44fea8c27edb89e1b8c498997575fa9f6ad95;p=external%2Fbinutils.git 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cc89930..1bfbc7d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-12-06 Joel Brobecker + + * aix-thread.c (getthrds): Fix type of 4th parameter. + (get_signaled_thread): Change type of variable ktid to tid_t. + 2012-12-06 Hui Zhu * dwarf2loc.c (dwarf_expr_frame_base): Add check for the return diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c index 5da6c4e..3d8b453 100644 --- a/gdb/aix-thread.c +++ b/gdb/aix-thread.c @@ -59,7 +59,7 @@ #include #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)