Change type of debug_aix_thread to bool

This fixes AIX build breakage from commit
491144b5e2

Thanks to Sangamesh Mallayya for pointing this out to me.

gdb/ChangeLog:

2019-12-02  Christian Biesinger  <cbiesinger@google.com>

	* aix-thread.c (debug_aix_thread): Change type to bool.

Change-Id: Ie7b2eab97b75b48067ef77e414e7510d1f79a525
This commit is contained in:
Christian Biesinger 2019-12-02 12:33:38 -06:00
parent 7532a164d5
commit 638d85bce0
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2019-12-02 Christian Biesinger <cbiesinger@google.com>
* aix-thread.c (debug_aix_thread): Change type to bool.
2019-12-02 Luis Machado <luis.machado@linaro.org>
* infrun.c (follow_fork_inferior): Remove outdated FIXME comment.

View File

@ -61,7 +61,7 @@ extern int getthrds (pid_t, struct thrdsinfo64 *, int, tid_t *, int);
#endif
/* Whether to emit debugging output. */
static int debug_aix_thread;
static bool debug_aix_thread;
/* In AIX 5.1, functions use pthdb_tid_t instead of tid_t. */
#ifndef PTHDB_VERSION_3