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.
This commit is contained in:
parent
9e69ed506a
commit
eff44fea8c
|
@ -1,3 +1,8 @@
|
||||||
|
2012-12-06 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
|
* 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 <hui_zhu@mentor.com>
|
2012-12-06 Hui Zhu <hui_zhu@mentor.com>
|
||||||
|
|
||||||
* dwarf2loc.c (dwarf_expr_frame_base): Add check for the return
|
* dwarf2loc.c (dwarf_expr_frame_base): Add check for the return
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
#include <sys/pthdebug.h>
|
#include <sys/pthdebug.h>
|
||||||
|
|
||||||
#if !HAVE_DECL_GETTHRDS
|
#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
|
#endif
|
||||||
|
|
||||||
/* Whether to emit debugging output. */
|
/* Whether to emit debugging output. */
|
||||||
|
@ -648,7 +648,7 @@ static pthdb_tid_t
|
||||||
get_signaled_thread (void)
|
get_signaled_thread (void)
|
||||||
{
|
{
|
||||||
struct thrdsinfo64 thrinf;
|
struct thrdsinfo64 thrinf;
|
||||||
pthdb_tid_t ktid = 0;
|
tid_t ktid = 0;
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
|
|
Loading…
Reference in New Issue